Chapter Contents |
Previous |
Next |
The REPORT Procedure |
Path |
Tools | Options | Report |
Description |
Modes |
View | Refresh |
DEFER is particularly useful when you know that you need to make several changes to the report but do not want to see the intermediate reports.
By default, PROC REPORT redisplays the report in the REPORT window each time you redefine the report by adding or deleting an item, by changing information in the DEFINITION window, or by changing information in the BREAK window.
Options |
PROC REPORT honors the first of these centering specifications that it finds:
When PROC REPORT's CENTER option is in effect, PROC REPORT ignores spacing that precedes the leftmost variable in the report.
HEADLINE underlines with the second formatting character. (See the discussion of FORMCHAR= .)
Default: | hyphen (-) |
Tip: | In traditional (monospace) SAS output, you
can underline column headers without underlining the spaces between them,
by using
'--' as the last
line of each column header instead of using HEADLINE. |
Tip: | Use NAMED in conjunction with WRAP to produce a report that wraps all columns for a single row of the report onto consecutive lines rather than placing columns of a wide report on separate pages. |
Interaction: | When you use NAMED, PROC REPORT automatically uses NOHEADER. |
Once you suppress the display of column headers in the windowing environment, you cannot select any report items.
Interaction: | When WRAP is in effect, PROC REPORT ignores PAGE in any item definitions. |
Tip: | Typically, you use WRAP in conjunction with NAMED to avoid wrapping column headers. |
Interaction: | You cannot use BOX if you use WRAP in the PROC REPORT statement or ROPTIONS window or if you use FLOW in any item's definition. |
See also: | For information about formatting characters, see the discussion of FORMCHAR= . |
Attributes |
Range: | 64-256 (integer) |
Tip: | If the line size is greater than the width of the REPORT window, use SAS windowing environment commands RIGHT and LEFT to display portions of the report that are not currently in the display. |
Range: | 15-32,767 (integer) |
Range: | 1 to the linesize |
Default: | 9 |
Interaction: | When setting the width for a column, PROC REPORT first looks at WIDTH= in the definition for that column. If WIDTH= is not present, PROC REPORT uses a column width large enough to accommodate the format for the item. (For information about formats, see the discussion of Format= .) If no format is associated with the item, the column width depends on variable type: |
If the variable is a ... | Then the column width is the ... | |
---|---|---|
character variable in the input data set | length of the variable | |
numeric variable in the input data set | value of the COLWIDTH= option | |
computed variable (numeric or character) | value of the COLWIDTH= option |
Default: | 2 |
Interaction: | PROC REPORT separates all columns in the report by the number of blank characters specified by SPACING= in the PROC REPORT statement or the ROPTIONS window unless you use SPACING= in the definition of a particular item to change the spacing to the left of that item. |
Interaction: | When CENTER is in effect, PROC REPORT ignores spacing that precedes the leftmost variable in the report. |
Default: | slash (/) | |||
Interaction: | The FLOW option in the DEFINE statement honors the split character. | |||
Note: | If you are typing over a header (rather
than entering one from the PROMPTER or DEFINITION window), you do not see the effect of the split character
until you refresh the screen by adding or deleting an item, by changing the
contents of a DEFINITION or a BREAK window, or by selecting
|
When PROC REPORT writes a multipanel report, it fills one panel before beginning the next.
The number of panels that fits on a page depends on the
Default: | 1 |
Tip: | If number-of-panels is larger than the number of panels that can fit on the page, PROC REPORT creates as many panels as it can. Let PROC REPORT put your data in the maximum number of panels that can fit on the page by specifying a large number of panels (for example, 99). |
See also: | For information about specifying the space between panels see the discussion of PSPACE= . For information about setting the linesize, see the discussion of Linesize ). |
Default: | 4 |
Specify the entry name for help for a particular report item in the DEFINITION window for that report item or in a DEFINE statement.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.