NetBatch Manual

Job Planning, Submission, and Management
NetBatch Manual522460-004
4-10
Identifying Processes of a Job
Identifying Processes of a Job
When a scheduler starts a job with the attribute JOBID-ZERO OFF:
1. 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); for
example, $ZBAT.278.
2. The executor-program process 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 and to suspend, reactivate, and stop them.
Figure 4-7 shows the scheduler starting job 661 whose executor-program process
($Z053) starts three other processes. $Z053 transmits its GMOMJOBID ($ZBAT.661) to
those processes.
Displaying GMOMJOBIDs
To display the GMOMJOBID of a process, use the TACL STATUS command. This
example shows the command listing the GMOMJOBIDs of processes from Figure 4-7
(the command’s results appear in truncated form):
> STATUS *, GMOMJOBID $ZBAT.661, DETAIL
Pid: 1,47 ($X) Primary
GMOMJOBID: $ZBAT.661
Pid: 1,48 ($Z) Primary
GMOMJOBID: $ZBAT.661
Pid: 1,55 ($Z053) Primary
GMOMJOBID: $ZBAT.661
Figure 4-7. Example of GMOMJOBID Propagation
Scheduler
$ZBAT
RUN X/NAME $X/
RUN Y/NAME $Y/
RUN Z/NAME $Z/
RUN TACL/NAME/
$Z053
GMOMJOBID
$ZBAT.661
$X
GMOMJOBID
$ZBAT.661
$Y
GMOMJOBID
$ZBAT.661
$Z
GMOMJOBID
$ZBAT.661
VST012.vsd