NetBatch Manual

Commands
NetBatch Manual522460-004
6-198
! Command
command changes the current default node, volume, and subvolume. For
example:
1} VOLUME
VOLUME $SYSTEM.NETBATCH, "NNNC"
2} SHOW ATTACHMENT-SET DEFINE =_DEFAULTS
ATTACHMENT-SET ATTRIBUTES
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
$SYSTEM.NETBATCH
3} VOLUME \MELBQAT.$QAT2.ISPFILES
VOLUME \MELBQAT.$QAT2.ISPFILES, "NNNC"
4} SHOW ATTACHMENT-SET DEFINE =_DEFAULTS
ATTACHMENT-SET ATTRIBUTES
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
\MELBQAT.$QAT2.ISPFILES
Example
This example shows the effect of two VOLUME commands. The first command
displays defaults inherited by BATCHCOM from the TACL environment. The second
command sets the default volume, subvolume, and disk file security for the session.
These defaults enable BATCHCOM to find the file specified by the OBEY command.
They also specify the security attributes of the file created as a result of execution of
that command.
$DATA7.BTCH 15> FILEINFO $NB.NBFILES.*
$NB.NBFILES
Code EOF Last Modification Owner RWEP PExt SExt
X 101 2086 14-Apr-93 16:54:31 205,70 "NCNC" 2 2
$DATA7.BTCH 16> BATCHCOM
1} VOLUME
VOLUME \MELBDEV.$DATA7.BTCH, "NCNC"
2} OBEY X
0011-E File or record does not exist, X
3} VOLUME $NB.NBFILES, "AAAA"
VOLUME \MELBDEV.$NB.NBFILES, "AAAA"
4} OBEY X
STATUS JOB /OUT Y/ *
5} EXIT
$DATA7.BTCH 17> FILEINFO $NB.NBFILES.*
$NB.NBFILES
Code EOF Last Modification Owner RWEP PExt SExt
X 101 2086 14-Apr-93 16:54:31 205,70 "NCNC" 2 2
Y 101 442 15-Apr-93 11:14:36 205,70 "AAAA" 4 20
! Command
Use the ! (exclamation point) command to reexecute immediately a command line from
BATCHCOM’s history buffer.
! [ num | - num | text ]