NetBatch Manual

Attributes
NetBatch Manual522460-004
7-35
CPU Executor Attribute
on page 7-64, RESTART Job Attribute on page 7-95, STALL Job Attribute on
page 7-102, and STOP-ON-ABEND Job Attribute on page 7-105.
Examples
This example shows the CPUs of a job’s processes. The job’s TACL executor-
program process $X228 runs in CPU 0 (specified by the CPU attribute of the job’s
executor). FUP processes $X and $Y created by the TACL process run in the CPU
specified by their RUN commands. FUP process $Z runs in the CPU of the TACL
process. (This setting is the TACL default for processes whose RUN commands do
not include the CPU run option. For more information, see the TACL Reference
Manual.)
> STATUS *, TERM
Process … Userid Program file Hometerm
$C4 1,36 … 205,70 TACL $T4.#A
$ZBAT 1,48 … 255,255 NETBATCH $T4.#A
$C4 B 2,29 … 205,70 TACL $T4.#A
$ZBAT B 3,30 … 255,255 NETBATCH $T4.#A
> FUP COPY FUPS
FUP /OUT $NULL, NAME $X, NOWAIT, CPU 1/ FILES *
FUP /OUT $NULL, NAME $Y, NOWAIT, CPU 2/ FILES *
FUP /OUT $NULL, NAME $Z/ FILES *
> BATCHCOM $ZBAT; INFO EXECUTOR *
EXECUTOR ATTRIBUTES for FUP-JOBS
cpu: 0
classes: DEFAULT
> BATCHCOM $ZBAT; SUBMIT JOB F, EXECUTOR-PROGRAM TACL, IN
FUPS, CLASS DEFAULT
Job F job number 499 submitted
> BATCHCOM $ZBAT; STATUS JOB 499
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
499 F 205,70 67 EXECUTING DEFAULT
> BATCHCOM $ZBAT; STATUS EXECUTOR FUP-JOBS
EXECUTOR STATUS
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ---- -------
FUP-JOBS 0 ACTIVE 499 DEFAULT
> STATUS *, USER
Process … Userid Program file Hometerm
$X228 0,30 … 205,70 TACL $ZBAT
$Z 0,65 … 205,70 FUP $ZBAT
$X 1,31 … 205,70 FUP $ZBAT
$C4 1,36 … 205,70 TACL $T4.#A
$C4 B 2,29 … 205,70 TACL $T4.#A
$Y 2,34 … 205,70 FUP $ZBAT
This example shows commands specifying the CPU attributes of executors for
schedulers running on four-CPU and eight-CPU nodes:
9} OPEN \MELBDEV.$ZBAT
NETBATCH SERVER - T9190D20 …