QIO Configuration and Management Manual

QIO Subsystem SCF Commands
QIO Configuration and Management Manual424717-008
4-4
Input Sources
subsystem or its objects, SCF translates the command into a formatted message for
SCP, which then communicates with the appropriate subsystem to perform the
specified task.
SCF accepts commands from a terminal, a disk file, or an application process. It sends
display output to a terminal, a file, a process, or a printer. When SCF is started
interactively, the input source and output destination are specified in the command-
interpreter RUN command used to start SCF. If SCF is started by a process creation
procedure, its input source and output destination are taken from the startup message.
Subsequent SCF commands can change the input source and output destination.
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 a command (OBEY) file.
Modes of Operation
SCF can be run interactively or noninteractively. Because interactive and
noninteractive input are treated quite differently by SCF, the following distinctions are
important:
The mode is interactive when both input and output pass through the same
terminal, or when the same process is used for both input and output. This rule can
affect the use of abbreviations when you enter keywords. For instance, using the
OUT command or the / OUT file-spec / parameter within a command line causes
SCF to run in noninteractive mode.
Interactive input from a terminal is characterized by the entry of a command
followed by a carriage return. When a process is used for both input and output,
SCF waits for the process to send a request and treats the process in the same
manner as it would treat a terminal.
Noninteractive input usually appears in the form of a command (OBEY) file.
Command (OBEY) files are usually EDIT files that contain a series of commands.
For more information about interactive and noninteractive modes of operation, see the
SCF Reference Manual for G-Series RVUs.
Setting the Initial Input Sources
To specify an initial input source for an SCF session, use the IN option of the RUN
command. You can specify a terminal (identified by its logical-device name) or a disk
file. For example, the following TACL RUN command initiates SCF and directs it to
read commands from a disk file named $DATA.SCF.STARTUP (if not specified, the