Safeguard User's Guide (G06.24+, H06.03+)

Working With SAFECOM
Safeguard User’s Guide422089-009
7-2
SAFECOM Session-Control Commands
allows you to use the HISTORY, ?, !, and FC session-control commands to recall, edit,
and execute commands entered earlier in the same session.
SAFECOM Session-Control Commands
After you start an interactive SAFECOM session, you can enter either of two types of
commands: session-control commands, which manage your interactive session, and
security commands, which specify the security controls for your disk files and
subvolumes. The session-control commands are listed in Table 7-1. This section
demonstrates the use of most of the session-control commands. A special session-
control command, the DISPLAY command, is described in Section 8, Changing Display
Options.
All session-control commands are described in detail in the Safeguard Reference
Manual. The session-control commands manage your SAFECOM session, but they do
not apply security controls.
Security commands are also shown in the examples in this section. These commands
are described in detail in the previous sections of this manual.
Table 7-1. SAFECOM Session-Control Commands (page 1 of 2)
Command Meaning
ASSUME Establishes a default object type for subsequent SAFECOM commands. For
the general user, the object types are DISKFILE, SUBVOLUME, PROCESS,
and SUBPROCESS.
ENV Displays the current default values of the environmental parameters
(SYSTEM, VOLUME, OUT, LOG, ASSUME, and DISPLAY options).
EXIT Stops an interactive SAFECOM session. Control of your terminal is returned
to your command interpreter. You can also use Ctrl/Y for this purpose.
FC (Fix Command) Displays and allows you to edit a previously entered
SAFECOM command.
HELP Displays help screens describing the SAFECOM commands.
HISTORY Displays a specified number of your most recently entered SAFECOM
commands. Also clears last or all commands in the history buffer.
LOG Defines a log file in which SAFECOM writes a record of the current
SAFECOM session.
OBEY Specifies a command file containing SAFECOM commands for batch
execution.
OUT Directs SAFECOM to write its output to a specified file. (SAFECOM output
text includes both input commands and responses to those commands.)
SYNTAX Directs SAFECOM to check the syntax of commands only but not to execute
them.
SYSTEM Establishes a default system name for file-name expansion.
VOLUME Establishes a default disk-volume name and a default subvolume name for
the file-name expansion of disk files.