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

Safeguard Reference Manual520618-013
3-1
3
The Command to Run SAFECOM
This section contains the syntax description of the command to run SAFECOM,
followed by examples that show each of the three modes of program operation. For
more examples of running SAFECOM, see the Safeguard User’s Guide. For
instructions on starting the Safeguard software, see the Safeguard Administrator’s
Manual.
Modes of Program Operation
To run the SAFECOM program, you must have the necessary EXECUTE authority for
the SAFECOM program object file ($SYSTEM.SYSnn.SAFECOM). Once authorized,
you can run SAFECOM by entering a run command at the command-interpreter
prompt.
You can run SAFECOM in any of three modes:
Execute-and-quit-mode: SAFECOM executes specified commands and then
returns control of your terminal to the command interpreter.
Interactive session mode: SAFECOM prompts you for commands and displays the
results of the commands on your terminal.
Batch mode: SAFECOM accepts commands from an IN file (an EDIT-format file
that contains SAFECOM commands) that you can specify in the command to run
SAFECOM, or from an OBEY command file. (For more information, see Section 4,
SAFECOM Session-Control Commands.)
Command Syntax
From the command interpreter, you start a SAFECOM process by entering a
SAFECOM run command. Each command to run SAFECOM starts a separate
SAFECOM process. The SAFECOM program object file resides in the current system
subvolume ($SYSTEM.SYSnn, where nn is a 2-digit octal integer).
SAFECOM
is an implicit RUN command instructing your command interpreter to run the
SAFECOM program object file. (If you need to know the subvolume on which the
SAFECOM object file is installed, see your system manager.)
If you enter SAFECOM with no cmd, you start an interactive SAFECOM process
that controls the terminal and displays the SAFECOM command prompt, an equal
SAFECOM [ / run-opt [ , run-opt ] ... / ]
[ cmd [ ; cmd ] ... ]