NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-118
WAIT Job Attribute
WAIT Job Attribute
The WAIT job attribute delays execution of a job for a specified period from the current
time. (The current time is the system date and time on the node where the job’s
scheduler is running.)
hours
is a number in the range 0 through 168 specifying the number of hours delay (168
hours equals 7 days).
mins
is a number in the range 0 through 59 specifying the number of minutes delay.
Considerations
•
The scheduler treats a job submitted without the AFTER, AT, or WAIT attributes
like a job with the attribute WAIT 0:0. Such a job is eligible to run immediately on
submission unless delayed by another attribute such as HOLD or TAPEDRIVES.
•
The scheduler determines the next run time of a job with the WAIT attribute
by
adding the delay period to the submission time. For example, the run time of a
job submitted at 1300 with a delay of three hours is 1600.
To display the run time of a job, specify AFTER or AT in an INFO JOB command.
For example:
8} INFO JOB X, AFTER
JOB ATTRIBUTES for X
jobnumber: 26
after: 14DEC94 23:00:00
next-runtime: 14DEC94 23:00:00
If the job’s state is SPECIAL- n, BATCHOM does not display the run time.
•
The AFTER, AT, and WAIT job attributes are mutually exclusive. This restriction
means a job can have any one of the attributes, but not two or all three. By way of
illustration, consider job X, whose attributes include AFTER 17:00. The job runs at
1615 if altered at 1610 by the command ALTER JOB X, WAIT 00:05.
(If you mistakenly specify more than one of AFTER, AT, and WAIT in a command,
the last attribute specified takes precedence. For example, job Y submitted at 0900
by the command SUBMIT JOB Y, AFTER 09:45, WAIT 00:15 runs at 0915.)
WAIT hours [ : mins ]