NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-117
VOLUME Job Attribute
Considerations
•
The default VOLUME attribute values are the node, volume, subvolume, and
security defaults set by the last SET JOB VOLUME command. If there was no
such command, the default values are the defaults current when the BATCHCOM
session began.
•
The VOLUME job attribute always overrides the VOLUME attribute of
defaults
DEFINE =_DEFAULTS in a job’s attachment set.
Example
This example shows the VOLUME attribute supplying the default volume and
subvolume for partial file names in the file BKUP. The example also shows the attribute
assigning file security to the file NEWFILE created by job I.
$DATA7.TEST 54> FILEINFO $TRASH.NBFILES.*
$TRASH.NBFILES
Code EOF Last Modification Owner RWEP …
OLDFILE 101 622 23-Oct-93 10:02:06 205,70 "N-N-" …
$DATA7.TEST 55> FUP COPY BKUP
DUP OLDFILE, NEWFILE
$DATA7.TEST 56> BATCHCOM $ZBAT
1} SHOW JOB
JOB ATTRIBUTES
volume: $DATA7.TEST, "NCNC"
user: 205,70
2} SET JOB VOLUME $TRASH.NBFILES, "OOOO"
3} SHOW JOB
JOB ATTRIBUTES
volume: $TRASH.NBFILES, "OOOO"
user: 205,70
4} SUBMIT JOB I, IN BKUP, EXECUTOR-PROGRAM FUP
Job I job number 460 submitted
5} STATUS JOB I
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
460 I 205,70 58 EXECUTING DEFAULT
6} INFO JOB I, VOLUME, IN
JOB ATTRIBUTES for I
jobnumber: 460
volume: $TRASH.NBFILES, "OOOO"
in: $DATA7.TEST.BKUP
7} EXIT
$DATA7.TEST 57> FILEINFO $TRASH.NBFILES.*
$TRASH.NBFILES
Code EOF Last Modification Owner RWEP …
NEWFILE 101 622 11-Nov-93 10:15:34 205,70 "OOOO" …
OLDFILE 101 622 23-Oct-93 10:02:06 205,70 "N-N-" …