NetBatch Manual

Job Planning, Submission, and Management
NetBatch Manual522460-004
4-11
Identifying Processes of a Job
Pid: 1,78 ($Y) Primary
GMOMJOBID: $ZBAT.661
For more information about the STATUS command, see the TACL Reference Manual.
Dissociating a Process From a Job
In some cases, you might want to prevent a process from receiving its creators
GMOMJOBID so the process executes outside scheduler control. For example, you
might want a NOWAIT Pathway process dissociated from the job that starts it.
To prevent a process from receiving a GMOMJOBID, specify run option JOBID 0 in the
process’s TACL RUN command. This option overrides the creator’s GMOMJOBID and
dissociates the process from the job. As a result, the scheduler does not receive
creation and completion information from the process. Also, no control of the process
is possible through the scheduler. For example, the STOP JOB command stops and
deletes all processes having the job’s GMOMJOBID, but not the dissociated process
(see Figure 4-8).
For more information about run option JOBID, see the TACL Reference Manual.
Figure 4-8. Example of Dissociated Processes
Processes stopped by scheduler in response to
STOP JOB command (job number
762—processes $Z060 and $A—stopped)
$A
GMOMJOBID
$ZBAT.762
$B
GMOMJOBID
-
$C
GMOMJOBID
-
$D
GMOMJOBID
-
Scheduler
$ZBAT
$Z060
GMOMJOBID
$ZBAT.762
Processes started by scheduler
in response to SUBMIT JOB
command
(job number 762 submitted)
RUN A/NAME $A,…/ RUN B/NAME $B,JOBID O,…/
Scheduler
$ZBAT
RUN D/NAME $D,…/
RUN C/NAME $C,…/
RUN TACL/NAME/
$Z060
GMOMJOBID
$ZBAT.762
$A
GMOMJOBID
$ZBAT.762
$B
GMOMJOBID
-
$C
GMOMJOBID
-
$D
GMOMJOBID
-
VST013.vsd