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

SCF Commands
SCF Reference Manual for G-Series RVUs520413-005
5-101
RUN Command
RUN Command
The RUN command initiates the execution of other programs from SCF. Any program
can be run from SCF, including EDIT, FUP, ERROR, and NETMON. SCF is
suspended while the other program runs, and it is reactivated when the other program
terminates. To enter DEBUG on the first executable instruction of the program, use
RUND.
OUT file-spec
causes any SCF output generated for this command to be directed to the specified
file. The variable file-spec is defined on page 5-9.
file-spec2
is the file name of the program to be executed. It has the same format as the
variable file-spec, which is defined on page 5-9.
run-options
is a list of one or more RUN command options, as described on page 4-2.
parameter-string
is the list of run parameters to be passed to the initiated program. All text following
the program-file name is assumed to be part of the parameter string. Continuation
lines can be used.
Considerations
The keyword RUN can be left off the RUN command if the file name is not the
same as a valid SCF command and if the program file is located in either the
$SYSTEM.SYSnn or the $SYSTEM.SYSTEM subvolume. SCF runs the program
on $SYSTEM.SYSTEM if it exists on both subvolumes.
If the keyword RUN is included, SCF looks for the program file on the default
volume and subvolume only.
The RUN command must be the last command on a command line.
TACL ASSIGN messages and PARAM values are passed to the initiated program.
If a command begins with the name of an existing file, that file is run. If not, the
name is assumed to be an abbreviation and SCF attempts to expand it. For
instance, if a command begins with the characters STAR and a program file named
STAR exists on the volume $SYSTEM.SYSTEM, the program file STAR is run. If
no file named STAR exists, the command is executed as a START command.
[RUN[D]] [ /OUT file-spec/ ] file-spec2 [ / run-options / ]
[ parameter-string ]