Chapter Contents

Previous

Next
The G4GRID Procedure

The BY Statement


BY <options> variables;

The BY statement specifies the variable or variables by which data is grouped for processing. A separate grid is produced for each value of the BY variable. The BY statement is optional.


Options

DESCENDING
indicates that the input data set is sorted in descending order. This is the default.

NOTSORTED
indicates that observations with the same BY variable values are to be grouped as they are encountered, without regard for whether the values are in numerical order.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.