SCF Reference Manual for G-Series RVUs (G06.24+)
Using SCF
SCF Reference Manual for G-Series RVUs—520413-004
4-10
Entering Multiple Commands on a Line
command line numbers assume that NUMBER was selected as the SETPROMPT
parameter.
Entering Multiple Commands on a Line
You can enter multiple SCF commands at a single prompt by separating the
commands with semicolons. For example, the command line
-> START $LINEA;STATUS $LINEA;CPUS
is equivalent to the following series of commands:
-> START $LINEA
-> STATUS $LINEA
-> CPUS
When processing a command line that contains more than one command, SCF in
noninteractive mode executes the commands one at a time, from left to right.
If an error occurs, SCF displays the appropriate error message and ignores the rest of
the command line.
The following SCF commands cannot be embedded in a string of commands because
SCF does not process any command following these commands: ALIAS, EXIT, FC,
OBEY, PARAM, RUN, !, and ?.
Commands such as FC, HISTORY, PAUSE, !, and ? cannot be used in noninteractive
mode, for example, in an SCF command file.
Entering a Long Command on More Than One Line
There are two ways to enter a long command on more than one line.
•
In interactive mode only, you can continue a command that starts on one line onto
a second line by continuing to type and let the words wrap automatically to the next
line.
•
In noninteractive or interactive mode, you can terminate the first line with an
ampersand (&) and press Return. SCF responds by displaying an ampersand (&)
prompt on the next line. The maximum command line length is 2048 characters.
For example, entering:
-> ADD PROCESS $ZZKRN#PTR-OPERATOR, NAME $PTROP, PROGRAM &
causes SCF to prompt you for additional command input:
-> ADD PROCESS $ZZKRN#PTR-OPERATOR, NAME $PTROP, PROGRAM &
-> &