Safeguard Reference Manual (G06.24+, H06.03+ )

The Command to Run SAFECOM
Safeguard Reference Manual520618-013
3-3
Command Syntax
NOWAIT
instructs your command interpreter to return to your terminal for more
commands after starting a SAFECOM process. Typically, you use NOWAIT in
the batch mode, in which you specify an EDIT command file as the IN file for
SAFECOM, or in the execute-and-quit mode. The NOWAIT option means that
SAFECOM runs in the background, and you can use your terminal for other
work.
If you omit NOWAIT, your command interpreter starts SAFECOM and then
pauses while SAFECOM runs. Typically, you omit NOWAIT when you are
starting an interactive SAFECOM session. When you run SAFECOM without
the NOWAIT option, SAFECOM accepts input commands from your terminal
and displays its error messages and output reports on your terminal. When you
exit SAFECOM, the command interpreter regains control of your terminal and
displays its prompt.
OUT [listfile]
specifies a file that SAFECOM uses as an output file. SAFECOM writes all
input commands and their responses to those commands to its current output
file. For listfile, specify any file name. SAFECOM appends its output to
listfile. If listfile does not exist, SAFECOM creates an EDIT-format
file and writes its output to that file.
If you specify an IN filename and include OUT with no listfile,
SAFECOM produces no output text.
If you omit the OUT option, SAFECOM uses the OUT file currently defined for
your command interpreter (usually your home terminal).
PRI priority
assigns an execution priority for the SAFECOM process. For priority,
specify an integer in the range 1 through 199. (Processes with higher priorities
generally run faster than processes with lower priorities.)
If you omit the PRI option, the command interpreter starts SAFECOM with a
priority that is one less than the priority of your command interpreter.
If your installation operates a $CMON process, $CMON can override a PRI
specification.
cmd
is any SAFECOM command except the FC, ! , and ? commands. When you
include cmd, the new SAFECOM process runs in the execute-and-quit mode.
Note. If you include a cmd in your command to run SAFECOM, SAFECOM will run in execute-
and-quit mode, execute the command cmd, and ignore the IN option, if specified.