Creating Enhanced List and Summary Reports |
Defining Variables |
Using DEFINE Statements To describe how to use and display variables in your report, you use one or more DEFINE statements. You can list DEFINE statements in any order, and you can list options (usages, attributes, and so on) in any order in a DEFINE statement. |
General form, simple DEFINE statement:
where
|
Example These DEFINE statements specify usages, attributes, options, justification,
and column headings for the variables |
proc report data=flights.europe nowd; where dest in ('LON','PAR'); column flight orig dest mail freight revenue; define flight / order descending 'Flight Number' center width=6 spacing=5; define orig / 'Flight Origin' center width=6; run; |
Let's start with attributes. |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.