6. When you are finished making changes, click OK three times to exit all of the open
dialog boxes. From this point on, when you use the SAS Explorer Window to open
the VIEWTABLE window, SAS displays the table headers according to what you
specified in this SAS Explorer dialog box.
Note: These steps only affect how tables are displayed when they are opened from the
SAS Explorer Window (either by double-clicking on the icon or by right-clicking on
the icon and selecting "Open"). They do not affect how tables are opened when you
use the VIEWTABLE command to open a table.
Order of Precedence for How Column Headings Are Displayed
If you open a table using the VIEWTABLE command and you do not specify
COLHEADING= to control how column headings should be displayed, then SAS will
display column headings based on how they were last set in the VIEWTABLE pop-up
menu (View ð Column Names or View ð Column Labels).
If you open a table using the VIEWTABLE colheading=<value> command, SAS will
display the column headings according to the COLHEADING value, regardless of how
column headings are set in the VIEWTABLE pop-up menu. The setting in the
VIEWTABLE pop-up menu will reflect the COLHEADING= value. In other words,
COLHEADING= overrides the setting specified in the VIEWTABLE pop-up menu.
For information about the LABEL statement in SAS, see “LABEL Statement” in SAS
Statements: Reference.
Mapping the VIEWTABLE Command to a Function Key
You can map a Function Key in the Display Manager Keys window to execute the
VIEWTABLE command. To do this, follow these steps:
1. Select Tools ð Options ð Keys from the SAS menu. The Keys window will appear.
384 Chapter 17 • Managing Your Data in the SAS Windowing Environment