Creating More Sophisticated Reports

Adjusting the Column Layout

Understanding Column Width and Spacing for ODS LISTING Output

If you are working with the ODS LISTING destination, you can modify the column spacing (SPACING=) and the column width (COLWIDTH=) by specifying options in either the PROC REPORT statement or the DEFINE statement.
To control the spacing between columns, you can use the SPACING= option in the following statements:
  • PROC REPORT statement to specify the default number of blank characters between all columns
  • DEFINE statement to override the default value and to specify the number of blank characters to the left of a particular column
In the LISTING Output, PROC REPORT inserts two blank spaces between the columns. ...

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.