NetBatch Manual

Commands
NetBatch Manual522460-004
6-138
SET JOB Command
Examples
This example shows the SET JOB command specifying a series of job attributes in
the working-attributes set. Note the effect of the RESET JOB command.
59} SHOW JOB
JOB ATTRIBUTES
volume: \DEV.$A.NB, "AAAO"
in: \DEV.$A.NB.INFILE1
out: \DEV.$S.#TEMPOUT
jobid-zero: Off
user: 205,70
60} SET JOB VOLUME $DATA6.NBFILES, "NU-U", IN
$DATA3.NBPBAT.OMSBATCH, OUT $S.#BPROC, EXECUTOR-PROGRAM
NBEXEC,
STARTUP "B-1, LI 2:00, XPRI 110"; SHOW JOB
JOB ATTRIBUTES
volume: \DEV.$DATA6.NBFILES, "NU-U"
in: \DEV.$DATA3.NBPBAT.OMSBATCH
out: \DEV.$S.#BPROC
executor-program: \DEV.$A.T9190MAN.NBEXEC
startup: B-1, LI 2:00, XPRI 110
jobid-zero: Off
user: 205,70
61} RESET JOB; SHOW JOB
JOB ATTRIBUTES
volume: \DEV.$A.NB, "AAAO"
jobid-zero: Off
user: 205,70
The SET JOB command in the next example specifies the
MAXPRINTPAGES and OUT attributes. MAXPRINTPAGES applies to
the job submitted later in the example; OUT is overridden by
the SUBMIT JOB command. The job’s other attributes are
defaults from the scheduler, except for IN and SELPRI, which
are specified by SUBMIT JOB.
2} SHOW JOB
JOB ATTRIBUTES
volume: \DEV.$A.NB, "AAAA"
jobid-zero: Off
user: 133,2
3} SET JOB MAXPRINTPAGES 100, OUT $S.#MYOUT; SHOW JOB
JOB ATTRIBUTES
volume: \DEV.$A.NB, "AAAA"
out: \DEV.$S.#MYOUT
jobid-zero: Off
maxprintpages: 100
user: 133,2
4} SUBMIT JOB STATS, IN JOB1, OUT $S.#STATS, SELPRI 6; INFO
JOB
STATS; INFO SCHEDULER
Job STATS Jobnumber 23 submitted
JOB ATTRIBUTES for STATS
jobnumber: 23
volume: \DEV.$A.NB, "AAAA"
in: \DEV.$A.NB.JOB1