NetBatch Manual

NetBatch Introduction
NetBatch Manual522460-004
1-8
Job Scheduling and Startup
The scheduler lets you display and alter a job’s attributes by using the BATCHCOM
commands INFO JOB and ALTER JOB. To delete jobs, use the BATCHCOM
command DELETE JOB.
Job Scheduling and Startup
The scheduler uses a job’s timing attributes to determine when the job should run. This
table describes the functions of the timing attributes:
On satisfaction of the timing attributes, the scheduler starts the job (that is, runs its
executor program) if all these conditions exist:
The job’s class has the attribute INITIATION ON.
No other jobs in the job’s class have a higher selection priority. Jobs with a higher
selection priority are:
°
Jobs with dependencies, timing attributes, and SELPRI attributes overridden
by the BATCHCOM commands RUNNOW JOB or RUNNEXT JOB
°
Jobs with a higher SELPRI attribute
°
Jobs with the same SELPRI attribute but an earlier submission time
An executor is available to the job’s class. (The scheduler creates a temporary
executor for the job if the job has the AT attribute. The scheduler deletes the
temporary executor after the job finishes.)
AFTER, AT, CALENDAR, EVERY,
WAIT, LIMIT
Schedule a job and specify a time limit
HOLD, HOLDAFTER Specify a job’s hold characteristics
IFFAILS, RESTART, STALL, STOP-
ON-ABEND
Control a job’s behavior on process failure
TAPEDRIVES Specifies a job’s tape drives requirements
WAITON Specifies a job’s dependencies
ATTACHMENT-SET Specifies a job’s ASSIGNs, DEFINEs, and PARAMs
DESCRIPTION Describes a job
Attribute Function
AFTER Specifies a time after which a job becomes eligible for execution
AT Specifies a time after which the scheduler runs the job
CALENDAR Assigns a BATCHCOL-generated run calendar to the job
EVERY Specifies a regular interval at which the scheduler automatically runs a job
WAIT Prevents the scheduler from executing a job for a specified period after
submission
AFTER, AT, and WAIT are mutually exclusive, as are CALENDAR and EVERY.
Attribute Function (continued)