NetBatch Manual
Job Planning, Submission, and Management
NetBatch Manual—522460-004
4-31
Specifying a Job’s Dependencies
scheduler. Job O waits to run until job N finishes, because not enough drives are
available until then.
10} STATUS SCHEDULER
.
.
… TAPEDRIVES …
… ------------- …
… CONFIGURED 3 …
… IN USE 0 …
.
.
11} SUBMIT JOB N, TAPEDRIVES 2
Job N job number 720 submitted
12} STATUS SCHEDULER
.
.
… TAPEDRIVES …
… ------------- …
… CONFIGURED 3 …
… IN USE 2 …
.
.
13} SUBMIT JOB O, TAPEDRIVES 2
Job O job number 721 submitted
14} STATUS JOB *
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
720 N 255,255 EXECUTING DEFAULT
721 O 255,255 TAPE DEFAULT
15} STATUS JOB *
OB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
721 O 255,255 EXECUTING DEFAULT
Specifying a Job’s Dependencies
The WAITON attribute enables you to make execution of a job dependent on the job’s
release by up to 50 other jobs. A job with the WAITON attribute is a dependent job.
The jobs on which it depends are master jobs. The relationships between the
dependent job and its masters are dependencies.
Example
The WAITON attribute in this example specifies that execution of a job depends on the
job’s release by two masters. The scheduler puts the dependent job in the EVENT
state pending its release.
12} SUBMIT JOB DEPENDENT-JOB, WAITON (MASTER-JOB-1, MASTER-
JOB-2)
Job DEPENDENT-JOB Jobnumber 20 submitted
13} INFO JOB 20, WAITON
JOB ATTRIBUTES for DEPENDENT-JOB