SCF Reference Manual for G-Series RVUs (G06.27+)

SCF Commands
SCF Reference Manual for G-Series RVUs520413-005
5-132
VOLUME Command
VOLUME Command
The VOLUME command designates the default volume and subvolume names for
expansion of all file names.
OUT file-spec
causes any SCF output generated for this command to be directed to the specified
file. The variable file-spec is defined on page 5-9.
$volume
is the name of the volume that is to become the default volume.
subvolume
is the name of the subvolume that is to become the default subvolume.
Considerations
When an SCF session begins, the current volume and subvolume are the default
values used by the command interpreter through which SCF was invoked.
If you omit $volume and specify subvolume, the current default volume remains
unchanged. Similarly, if you specify $volume and omit subvolume, the current
default subvolume remains unchanged. If both are omitted, the default volume and
subvolume are restored to their initial settings from the beginning of the SCF
session.
You cannot specify a system name in the VOLUME command.
Examples
The following command declares $MKT to be the default volume for the expansion
of all file names:
-> VOLUME $MKT
The following command declares the default volume and subvolume to be
$MKT.ABC for the expansion of all file names:
-> VOLUME $MKT.ABC
VOLUME [ /OUT file-spec/ ]
[ $volume.[subvolume ] | [ subvolume ]