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

SAFECOM Session-Control Commands
Safeguard Reference Manual520618-013
4-6
DISPLAY Command
By default, the INFO command output is displayed in report form. To view this output
as SAFECOM commands rather than as a report:
=DISPLAY AS COMMANDS ON
=INFO DISKFILE rpt01, DETAIL
The following information appears:
To return to the default setting of displaying the INFO and SHOW command output in
report form:
=DISPLAY COMMANDS OFF
DISPLAY DETAIL Option
DISPLAY DETAIL controls the DETAIL option of the INFO command for an entire
SAFECOM session. Most INFO commands provide additional detailed information
when you specify the DETAIL option. However, this option applies only to the current
command, not the entire session. To turn this option on for an entire session, use the
DISPLAY DETAIL command.
DISPLAY DETAIL
entered without ON or OFF, turns on the DETAIL option for an entire session.
ON
turns on the DETAIL option for a session.
OFF
turns off the DETAIL option for a session.
Considerations
If you use DISPLAY DETAIL OFF to turn off the DETAIL option for a session, you
can override it for a single INFO command by specifying the DETAIL option in that
command.
Examples
This example turns on the DETAIL option of the INFO command for the entire session:
=DISPLAY DETAIL ON
ADD DISKFILE $DATA.SALES .RPT01
ALTER DISKFILE $DATA.SALES .RPT01 ,&
ACCESS 002,005 (R,W,E,P, 0)
ALTER DISKFILE $DATA.SALES .RPT01 ,&
ACCESS 002,* (R )
DISPLAY DETAIL [ ON | OFF ]