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

SAFECOM Session-Control Commands
Safeguard Reference Manual520618-013
4-13
ENV Command
The following information appears:
Use the following command to turn off the warning messages:
=DISPLAY WARNINGS OFF
Then issue the same INFO command:
=INFO DISKFILE $data.sales.*
The following information appears when the warnings are off:
ENV Command
ENV displays the current default values of the environmental parameters (that is, the
current default system, volume, OUT file, log file, assumed object class, and DISPLAY
settings).
The ENV listing reports the current environmental parameter values as valid
SAFECOM commands. For this reason, you can use the ENV command to save your
current environment in an EDIT or TEDIT file and later execute those commands to
reestablish the saved environment, through the OBEY command. (For more
information, see OBEY Command on page 4-20.)
ENV
entered with no env-parm, produces an ENV report on all the environmental
parameters. (They are listed here under env-parm.)
listfile
redirects the ENV listing to listfile. Specify listfile as any file name.
If listfile does not exist, SAFECOM creates an EDIT-format file by that name
and writes the ENV report to that file. If listfile does exist, SAFECOM opens
the file and appends the ENV report.
LAST-MODIFIED OWNER STATUS WARNING-MODE
$DATA.SALES
REPORT1 18JUL88, 11:00 2,1 THAWED OFF
NO ACCESS CONTROL LIST DEFINED!
* WARNING * RECORD FOR DISKFILE $DATA.SALES.REPORT2 NOT FOUND
* WARNING * RECORD FOR DISKFILE $DATA.SALES.REPORT3 NOT FOUND
LAST-MODIFIED OWNER STATUS WARNING-MODE
$DATA.SALES
REPORT1 18JUL88, 11:00 2,1 THAWED OFF
NO ACCESS CONTROL LIST DEFINED!
ENV [ / OUT listfile / ] [ env-parm ] [ , env-parm ]...