ATM Configuration and Management Manual

SCF Commands
ATM Configuration and Management Manual522307-003
4-13
Output Destinations
OBEY File Consideration
OBEY commands can appear within command files. Command files can be nested to a
depth of ten. If a depth of ten is exceeded, the file is not executed and an error
message is displayed.
Output Destinations
SCF can direct output to a disk file, an application process, a terminal, or a printer. The
initial output destination is determined by the form of the RUN command used to
initiate SCF. The output destination can be changed dynamically during an SCF
session.
Setting the Initial Output Destination
To specify an initial output destination for an SCF session, use the OUT option of the
RUN command, as described on page 4-9. You can specify a terminal (identified by its
logical device name), a disk file, an application process, or a printer (identified by its
spooler location).
If you run SCF without specifying an output file, SCF assumes that output is to be sent
to your terminal, using the interactive mode.
For example, the following RUN command initiates SCF and directs it to send its
output to a disk file named $DATA.SCF.DISPLAY:
> SCF / OUT $DATA.SCF.DISPLAY /
Changing the Output Destination
To change the output destination during an SCF session, use the OUT command,
which is described in the
SCF Reference Manual for G-Series RVUs
. For example, if
the following command appeared in the $DATA.SCF.DISPLAY file described
previously, SCF would begin sending its output displays to the spooler location
$S.#SCFSTRT:
-> OUT $S.#SCFSTRT
SCF also allows you to specify an output destination for a single command, leaving the
output destination for the session unchanged. To change the output destination for a
single command, use the / OUT file-spec / option following the command
keyword. For example, SCF sends the display output for the following STATUS
command to a disk file named LINESTAT on the default system, volume, and
subvolume:
-> STATUS /OUT LINESTAT/ LINE $AM1, DETAIL