SAS OnlineTutor HomeFAQ PageSuggested Learning PathContents+Searchback||next

Creating Enhanced List and Summary Reports
Defining Column Attributes


You can easily change the appearance of your PROC REPORT output by specifying attributes for variables. For example, you can select a format for data values, specify the column width, and specify the spacing between columns.

To enhance your PROC REPORT output, you'll use the following attributes.


Attribute Action
FORMAT=format Assigns a SAS format or a user-defined format to the item.
SPACING=horizontal-positions Specifies how many blank characters to leave between the selected column and the column immediately to its left. The default is 2.
WIDTH=column-width Specifies the width of the column. The default column width is just large enough to handle the specified format.


Let's begin with the FORMAT= attribute.

back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement