Operating System - OpenVMS
1752689 Members
5465 Online
108789 Solutions
New Discussion юеВ

Re: Open VMS Polycenter Scheduler V 2

 
SOLVED
Go to solution
nagadarshan
Occasional Contributor

Open VMS Polycenter Scheduler V 2

Please let me know how modify a particular job to add new job dependency to a scheduler job
6 REPLIES 6
Heinz W Genhart
Honored Contributor

Re: Open VMS Polycenter Scheduler V 2

Hi Nagadarshan

first of all welcome to the ITRC Forum

A very comfortable way to add/remove dependencies is, by using the DECWindows interface of the scheduler

$ set displ/create/node=your-tcpip-node/transport=tcpip
$ schedule/inter=decw

With this interface you can add/remove dependencies with your mouse

Hope that helps

Heinz
nagadarshan
Occasional Contributor

Re: Open VMS Polycenter Scheduler V 2

Hi Heinz,

I get the following error message.

schedule/inter=decw
X Toolkit Error: Can't Open display
%DWT-F-DWTABORT, xtoolkit fatal error


I guess Dec Windows interface is not installed.

I have VAX 6000-610 & POLYCENTER Scheduler V2.1. How to add dependency to a existing job with DEC windows interface.

Thanks for your help.
Heinz W Genhart
Honored Contributor

Re: Open VMS Polycenter Scheduler V 2

Hi Nagadarshan

What Environment are you using?
I know your scheduler is running on a vax. What Display are you using, a PC, a VMS Workstation or a Terminal?

In case you are using a PC with a X-Windows emulation:

1. SET DISPLY/CREATE/NODE=ip-address-of-your-pc/TRANSPORT=TCPIP
2. SCHEDULE/INTER=DECW


In Case you are using a VMS Workstation and the transport is DECnet:

1. SET DISPL/CRE/NODE=name-or-decnet_address-of-your-workstation/transport=DECNET
2. SCHED/INTER=DECW

In case you are using a terminal:
Then you can't use the DECWindows Interface. You have to issue DCL Commands on your terminal to modify dependencies within the scheduler

If you are using a PC or a Workstation, then you can also test the following:

$ SET DISPL/CREATE/NODE=ip-address/TRANSPOR=TCPIP

or

$ SET DISPL/CREATE/NODE=dns-name/TRANSPORT=TCPIP

and then start another DECWindows Application, like

$ MC DECW$CLOCK

The DECWindows Closck should be displayed.

So, what environment are you using?

Regards

Heinz


nagadarshan
Occasional Contributor

Re: Open VMS Polycenter Scheduler V 2

Hi Heinz,

I am using POWER TERM session to connect to VAX system. I think DEC windows is not installed in the VAX system that I am using.

I appreciate your response.

Regards,
Darshan

Heinz W Genhart
Honored Contributor
Solution

Re: Open VMS Polycenter Scheduler V 2

Hi Nagadarshan

Do a
$ DIR SYS$SYSTEM:DECW*

and a

$ DIR SYS$STARTUP:DECW*

If You find DECW*.EXE on SYS$SYSTEM, then DECWindows is installed on your system, but perhaps it's not started.

Anyway, I think PowerTerm is not a X-Windows Emulation but a normal character cell oriented Terminal Emulator

So you have to use DCL Commands to modify Scheduler dependencies.

You can define dependencies like this:

$ SCHED MODIFY JOB job-name/SYNCH=(previous_jobname=username)

previous_jobname >>> Name of job which must succesfully complete before the new job can run

username >>> Username under which the previous job runs

For further informations you can also use Help within the scheduler

$ SCHEDULE
SCHEDULE> help
SCHEDULE> help modify

help text for modify is displayed

SCHEDULE MODIFY Subtopic? /synch

help text for modify/synch is displayed


Regards

Heinz
Thomas Ritter
Respected Contributor

Re: Open VMS Polycenter Scheduler V 2

Using the command line one can try

$ sched mod nnn /sync=ooo

This would mean nnn depends on OOO.

$ SCHED
HELP MOD JOB