SCF Reference Manual for G-Series RVUs (G06.27+)
Using SCF
SCF Reference Manual for G-Series RVUs—520413-005
4-7
Input Sources
•
The FC, HISTORY, PAUSE, !, and ? commands work only in interactive mode.
•
HELP in interactive mode is menu-driven.
•
HELP in noninteractive mode assumes HELP ALL.
Input Sources
SCF accepts command input from a terminal or a disk file. The initial input source is
determined by the form of the RUN command used to initiate SCF. At any time during
an SCF session, the input source can be temporarily changed to execute a series of
commands from an SCF command file.
Setting the Initial Input Source
To specify an initial input source for an SCF session, use the IN option of the RUN
command, as described on page 4-2. You can specify a terminal (identified by its
logical device name) or a command file.
If you run SCF from TACL without specifying an input file, SCF assumes that input is to
come from your terminal, in interactive mode.
SCF Command Files
If you specify a command file when you run SCF, SCF runs in noninteractive mode.
For example, the following command starts SCF and directs it to read SCF commands
from a command file named $DATA.SCF.STARTUP:
> SCF / IN $DATA.SCF.STARTUP /
When the command file has been executed, control is returned to the TACL prompt.
TACL Command Files
You can also use a TACL command file that runs SCF and other utilities such as FUP
in noninteractive mode. You invoke this command file from the TACL prompt; for
example:
> OBEY TACLOBEY
When the command file has been executed, control is returned to the TACL prompt.
Command File Considerations
•
The commands FC, HISTORY, PAUSE, ?, and ! cause an error if they are
encountered in command file.
•
The DIM and REVERSE parameters are not valid within SCF command files when
using the SETPROMPT command (described on page 5-107).