Safeguard Reference Manual (G06.29+, H06.08+, J06.03+)

Table Of Contents
SAFECOM Session-Control Commands
Safeguard Reference Manual 520618-030
4 - 24
SYSTEM Command
SYSTEM Command
SYSTEM establishes a default system name. SAFECOM uses the default system
name to expand partially qualified file names that do not include a system name.
When you first run SAFECOM, the name of your local system is used as the initial
default system name.
SYSTEM
entered without \system-name, sets the default system name to the name of the
system you are currently using.
\system-name
is a valid system name to be used as the default for subsequent SAFECOM
commands.
Considerations
The SYSTEM command has no effect on user names because the system name is
not part of a user name. For example, if you execute an INFO USER command
after executing a SYSTEM command for a remote system, you still get information
on the local user.
To display your current default system name, use the ENV SYSTEM command.
For example:
=ENV SYSTEM
SYSTEM \LA
Example
This example uses the SYSTEM command in a sequence of commands:
=ENV SYSTEM -- Displays the default
SYSTEM \NY system name, \NY
=SYSTEM \LA -- Establishes a new
default system name
=ENV SYSTEM -- Displays the new
SYSTEM \LA default system name, \LA
=ASSUME DISKFILE -- Establishes DISKFILE as
the default object class
SYSTEM [ \system-name ]