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

SAFECOM Session-Control Commands
Safeguard Reference Manual520618-013
4-5
DISPLAY Command
DISPLAY AS COMMANDS Option
DISPLAY AS COMMANDS controls whether the output of an INFO or SHOW
command is displayed as a report or as a list of SAFECOM commands. Normally,
INFO and SHOW commands produce reports. To display the output of INFO and
SHOW as commands, use the DISPLAY AS COMMANDS option.
DISPLAY [ AS ] COMMANDS
entered without ON or OFF, specifies that the output of INFO and SHOW
commands is displayed as equivalent SAFECOM commands. The keyword AS is
optional.
ON
specifies that the output of INFO and SHOW commands is displayed as equivalent
SAFECOM commands.
OFF
specifies that the output of INFO and SHOW commands is displayed in report
form.
Considerations
DISPLAY AS COMMANDS does not support the GENERAL, AUDIT, and CI
options of the INFO SAFEGUARD command.
Examples
This example illustrates how the INFO command output can be changed with the
DISPLAY AS COMMANDS command.
Execute the following INFO command at the start of a SAFECOM session to display
the authorization record for the disk file RPT01:
=INFO DISKFILE rpt01, DETAIL
The following information appears:
DISPLAY [ AS ] COMMANDS [ ON | OFF ]
LAST-MODIFIED OWNER STATUS WARNING-MODE
$DATA.SALES
RPT01 26JUL88, 13:04 2,5 THAWED OFF
002,005 R,W,E,P, O
002,* R
AUDIT-ACCESS-PASS = NONE AUDIT-MANAGE-PASS = NONE
AUDIT-ACCESS-FAIL = NONE AUDIT-MANAGE-FAIL = NONE
LICENSE = OFF PROGID = OFF CLEARONPURGE = OFF PERSISTENT = OFF