Usage Note 23175: Controlling LISTING output when using the REPORT procedure
There is no way to force PROC REPORT to print all of the variables on the same page if there is not enough room to do so. It may help to reduce the spacing between the columns, reduce the width of the columns and/or increase the line size. However, the reduced space still has to be large enough to print out all of the variables on one page or PROC REPORT will continue printing the remaining variables on the next physical page.
- To reduce the space between variables, set the SPACING= option to either 0 or 1 on the PROC REPORT statement. This reduces the space between the variables from the default value of 2.
- To control spacing for a particular column, use the SPACING= option on the DEFINE statement within PROC REPORT.
- You can change the report column width using the COLWIDTH= option on the PROC REPORT statement. Also, the WIDTH= option on the DEFINE statement controls the width of a particular variable.
- Finally, the line size can be changed on the PROC REPORT statement (via the LS= option) or on an OPTIONS statement before the PROC REPORT statement.
PROC REPORT in Base SAS software is an extremely flexible tool that combines formatting, summarization and analysis features with report generation. Because it is powerful and easy -to use, it has become a favorite with many SAS software users and always garners a few presentation spots at SAS users group conferences. Here are a few SUGI papers on PROC REPORT that you may find interesting and helpful:
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Reviews how to control LISTING output so that you print all the variables on one page before writing to the next page.
Type: | Usage Note |
Priority: | low |
Topic: | SAS Reference ==> Procedures ==> REPORT
|
Date Modified: | 2003-02-25 15:11:14 |
Date Created: | 2003-02-20 10:06:45 |