Chapter Contents |
Previous |
Next |
The REPORT Procedure |
Restriction: | If you use the BY statement, you must use the NOWINDOWS option in the PROC REPORT statement. |
Restriction: | You cannot use the OUT= option when you use a BY statement. |
Interaction: | If you use the RBREAK statement in a report that uses BY processing, PROC REPORT creates a default summary for each BY group. In this case, you cannot summarize information for the whole report. |
Tip: | Using the BY statement does not make the FIRST. and LAST. variables available in compute blocks. |
Main discussion: | BY |
BY
<DESCENDING> variable-1
<...<DESCENDING> variable-n> <NOTSORTED>; |
Required Arguments |
Options |
The requirement for ordering or indexing observations according to the values of BY variables is suspended for BY-group processing when you use the NOTSORTED option. In fact, the procedure does not use an index if you specify NOTSORTED. The procedure defines a BY group as a set of contiguous observations that have the same values for all BY variables. If observations with the same values for the BY variables are not contiguous, the procedure treats each contiguous set as a separate BY group.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.