NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-59
EXECUTOR-PROGRAM Job Attribute
Example
This example shows execution of a TACL job that starts three FUP processes. (The job
inherits its EXECUTOR-PROGRAM attribute from the scheduler.) The example also
shows the home terminals of the job’s processes. The TACL executor-program
process $Y561 uses the scheduler process $ZBAT as its home terminal. FUP
processes $EP1 and $EP2 created by the TACL process use the home terminals
specified by their RUN commands. FUP process $EP3 uses the home terminal of the
TACL process. (This setting is the TACL default for processes whose RUN commands
do not include the TERM run option. For more information, see the TACL Reference
Manual.)
> STATUS *, TERM
Process Pri … Program file Hometerm
$C4 1,31 150 … TACL $T4.#A
$ZBAT 1,51 149 … NETBATCH $T4.#A
$C4 B 2,26 150 … TACL $T4.#A
$ZBAT B 2,52 149 … NETBATCH $T4.#A
> FUP COPY EP
FUP /OUT $NULL, NAME $EP1, NOWAIT, TERM \QA.$TRM2.#A/ FILES *
FUP /OUT $NULL, NAME $EP2, NOWAIT, TERM $NULL/ FILES *
FUP /OUT $NULL, NAME $EP3/ FILES *
> BATCHCOM $ZBAT; INFO SCHEDULER, DEFAULT-EXECUTOR-PROGRAM
SCHEDULER ATTRIBUTES
default-executor-program: $SYSTEM.SYSTEM.TACL
> BATCHCOM $ZBAT; SUBMIT JOB X, IN EP
Job X job number 323 submitted
> BATCHCOM $ZBAT; INFO JOB X, EXECUTOR-PROGRAM
JOB ATTRIBUTES for X
jobnumber: 323
executor-program: $SYSTEM.SYSTEM.TACL
> STATUS *, USER
Process Pri … Program file Hometerm
$EP3 0,53 149 … FUP $ZBAT
$EP2 0,54 149 … FUP $NULL
$EP1 0,63 149 … FUP \QA.$TRM2.#A
$Y561 0,65 150 … TACL $ZBAT
$C4 1,31 150 … TACL $T4.#A
$C4 B 2,26 150 … TACL $T4.#A