SCF Reference Manual for G-Series RVUs (G06.27+)
Using SCF
SCF Reference Manual for G-Series RVUs—520413-005
4-8
Changing the Input Source
•
It is recommended that the ALLOW command (described on page 5-26) be used in
conjunction with SCF command files to control the number of errors and warnings
allowed before command-file processing stops.
•
SCF closes a command file when any one of the following occurs:
°
The maximum number of allowable errors or warnings is exceeded.
°
The Break key is pressed.
°
An EXIT command is encountered.
°
An end-of-file condition is reached.
Changing the Input Source
To change the input source during a session, use the SCF OBEY command, which is
described on page 5-84; for example:
-> OBEY SCFSTART
The SCF OBEY command should specify a command file containing SCF commands
that SCF should read and execute in noninteractive mode.
Command 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-3. 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 of operation.
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 /