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

Using SCF
SCF Reference Manual for G-Series RVUs520413-004
4-9
Changing the Output Destination
Changing the Output Destination
To change the output destination during an SCF session, use the OUT command,
which is described on page 5-88. For example, if the following command appeared in
the $DATA.SCF.DISPLAY file described above. 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 STAT/ QUEUE $ZM00, DETAIL
Note, however, that using the / OUT file-spec / option does not capture the
command that produces the display. To capture both the display with the command
producing it, use the LOG command (page 5-79).
Logging Input and Output to a File
To record both the input commands and the corresponding output displays in a single
file, use the LOG command, which is described on page 5-79. Specifying a log file
does not change either the input source or the output destination; instead, a copy of
the commands and displays is sent to the specified file. For example, the following
LOG command creates a file named $DATA.SCF.SESSION that contains each input
command followed by the output that SCF displays in response to that command:
-> LOG $DATA.SCF.SESSION
If you are logging SCF commands to a record-keeping log file, you can record the
nature of each change by adding comment text; for example:
-> SAVE CONFIGURATION 3.12 ==4570 disk added 10/01/96
Entering SCF Commands
At the beginning of an SCF session, SCF displays its product banner, which includes
the product number, version number, RVU date, and copyright statement of the SCF
program.
When SCF successfully completes all initialization, it is ready to process commands. It
indicates this by displaying its prompt—the hyphen together with the greater-than sign
(->) following the command line number. The information displayed with this prompt
can be changed with the SETPROMPT command, described on page 5-107.
Most examples in this manual assume selection of the NONE parameter, which issues
only the prompt without a command-line number. Those examples that display