NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-11
AFTER Job Attribute
MIDN[IGHT]
specifies the middle of the night (specifically, 12 o’clock at night).
The time 00:00:00 applies if you omit time.
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 AFTER, AT, and WAIT job attributes are mutually exclusive. 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 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.)
•
You can display the run time of a job by specifying 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, BATCHCOM does not display the run time.
•
To change a nonexecuting job’s AT attribute to AFTER, use the ALTER JOB
command to specify AFTER without date and time. (Omitting date and time
leaves intact the original date and time.) For example:
21} SUBMIT JOB X, AT 05DEC94 23:59
Job X Jobnumber 22 submitted
22} INFO JOB X, AT, AFTER
JOB ATTRIBUTES for X
jobnumber: 22
at: 05DEC94 23:59:00
next-runtime: 05DEC94 23:59:00
23} ALTER JOB X, AFTER
Job X Jobnumber 22 altered
24} INFO JOB X, AT, AFTER
JOB ATTRIBUTES for X
jobnumber: 22
after: 05DEC94 23:59:00
next-runtime: 05DEC94 23:59:00