ATM Configuration and Management Manual

SCF Commands
ATM Configuration and Management Manual522307-003
4-12
Input Sources
The preceding command is an example of what is sometimes called command-
line mode. Command-line mode is defined as a series of noninteractive mode
commands that have the same IN and OUT file; when command execution is
finished, control is returned to the same TACL prompt from where execution
started.
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-8. 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 also can 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
After the command file has been executed, control returns to the TACL prompt.
Changing the Input Source
To change the input source during a session, use the SCF OBEY command, which is
described in the
SCF Reference Manual for G-Series RVUs
. 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.