NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-122
WAITON Job Attribute
°
If the master runs less frequently than the dependent, the dependent runs only
when released by the master. As a result, the dependent runs at the same
frequency as its master even though its execution interval specifies otherwise.
•
Use of RUNNOW command on a dependent job, in order to run the dependent job
without running the master job, is not recommended.
If both the master job and the dependent job are recurring jobs and if the master
runs less frequenly than the dependent, the dependent runs only when released by
the master. As a result, the dependent runs at the same frequency as its master.
But a dependent job in this case does not run on its release from the master job if it
was already run using RUNNOW while it was in TIME or EVENT state.
Use the RELEASE-WAITON command to release dependent jobs from their
masters without running the masters.
Examples
•
This example shows the submission of a dependent job with one master:
38} SUBMIT JOB A, WAITON B
Job A Jobnumber 11 submitted
39} INFO JOB A, WAITON
JOB ATTRIBUTES for A
jobnumber: 11
waiton: B, Not Released
•
This example shows the submission of a dependent job with many masters and
the release of that job by the RELEASE-WAITON command:
64} SET JOB WAITON (Y1 RELEASE, Y2 STOP, Y3 STOP-ABEND, Y4)
65} SUBMIT JOB Y0
Job Y0 Jobnumber 18 submitted
66} INFO JOB Y0, WAITON
JOB ATTRIBUTES for Y0
jobnumber: 18
waiton: Y1, Not Released
Y2 Stop, Not Released
Y3 Stop Abend, Not Released
Y4, Not Released
67} RELEASE-WAITON Y0 FROM *
Job Y0 Jobnumber 18 altered
68} INFO JOB Y0, WAITON
JOB ATTRIBUTES for Y0
jobnumber: 18
waiton: Y1, Released
Y2 Stop, Released
Y3 Stop Abend, Released
Y4, Released