Safeguard User's Guide (G06.24+, H06.03+)

Changing Display Options
Safeguard User’s Guide422089-009
8-8
Specifying a DISPLAY Command List
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 display shows:
To return to the default setting of displaying the INFO command output in report form:
=DISPLAY AS COMMANDS OFF
Specifying a DISPLAY Command List
The DISPLAY command options described in this section can be executed as separate
commands or specified in a single command list. The command list is convenient if you
want to change several default settings at the start of a session. The following
examples show how to specify display options in a single command list.
Assume that you want to turn warnings off, display only a single heading, and list users
by their user names:
=DISPLAY WARNINGS OFF, HEADERS ONCE, USER AS NAME
Similarly, to turn off headings and turn on the detail option for the current session:
=DISPLAY HEADERS OFF, DETAIL
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 )
ALTER DISKFILE $DATA.SALES.RPT01 ,OWNER 2,5