Safeguard Reference Manual (G06.24+, H06.03+ )
SAFECOM Session-Control Commands
Safeguard Reference Manual—520618-013
4-24
SYSTEM Command
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
=INFO $data.sales.report1 -- Displays a report on
\LA.$DATA.SALES.REPORT1
=SYSTEM
=ENV SYSTEM -- Reestablishes \NY as the
SYSTEM \NY default system name
LAST-MODIFIED OWNER STATUS WARNING-MODE
\LA.$DATA.SALES
REPORT1 14OCT85, 11:46 1,2 THAWED OFF
001,002 R,W,E,P
\*.001,* R