NetBatch Manual
NetBatch Introduction
NetBatch Manual—522460-004
1-9
Job Tracking, Control, and Termination
•
Tape drives are available to the job (if the job has the TAPEDRIVES attribute).
•
The job’s master jobs have released it (if the job has the WAITON attribute).
•
The job has the attribute HOLD OFF.
Figure 1-4 on page 1-10 illustrates and describes the algorithm used by the scheduler
to select and start jobs.
Attachment Sets
An attachment set is a group of ASSIGNs, DEFINEs, and PARAMs you can link to jobs
by the ATTACHMENT-SET attribute. When the scheduler starts the jobs, it propagates
the set’s ASSIGNs, DEFINEs and PARAMs to the jobs’ executor-program processes.
To add attachment sets and display and alter their attributes, use the BATCHCOM
commands ADD ATTACHMENT-SET, INFO ATTACHMENT-SET, and ALTER
ATTACHMENT-SET. To delete attachment sets, use the BATCHCOM command
DELETE ATTACHMENT-SET.
Job Tracking, Control, and Termination
When a scheduler starts a job with the attribute JOBID-ZERO OFF, it tags the job’s
executor-program process with a unique identifier called a GMOMJOBID. This
identifier contains the scheduler’s process name (that is, the name of the job’s
ancestor process, or GMOM) and the job’s number (JOBID). The executor-program
process then propagates the GMOMJOBID to its child processes. Thus, the
GMOMJOBID identifies processes related to the job. Moreover, it lets the scheduler
receive creation and completion information about the processes.
•
Creation information lets the scheduler suspend, reactivate, and stop the
processes.
•
Completion information lets the scheduler accrue the processes’ CPU time
for inclusion in scheduler-generated EMS messages.
To view the processing states of jobs, use the BATCHCOM command STATUS JOB.
To suspend and reactivate processes of running jobs, use the BATCHCOM commands
SUSPEND JOB and ACTIVATE JOB. To terminate processes of running or suspended
jobs, use the BATCHCOM command STOP JOB.