Creating Enhanced List and Summary Reports |
Defining Column Headings |
Defining the Split Character To control how words break in column headings, you can use a split character in the column label. When PROC REPORT encounters the split character in a column heading, it breaks the heading and continues the heading on the next line. The split character itself does not appear in the heading. To use a split character, you can do either of the following:
Suppose you want to break headings so that only one word appears on a line. Using the default slash as the split character, you can submit this PROC REPORT step. Notice that the column width has been reduced. |
|
Or you can submit this program, which uses the SPLIT= option and produces exactly the same output: |
|
Here are both types of output from both programs: |
Flight Number |
Flight Origin |
Flight Destination |
Freight | Revenue | |
821 | LGA | LON | 403 | 209 | $150,634.00 |
271 | LGA | PAR | 492 | 308 | $156,804.00 |
271 | LGA | PAR | 366 | 498 | $190,098.00 |
821 | LGA | LON | 345 | 243 | $150,634.00 |
821 | LGA | LON | 248 | 307 | $193,930.00 |
Partial PROC REPORT Output, SAS Listing
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.