Chapter Contents |
Previous |
Next |
Use one of the following forms for BY-group processing:
BY variable(s); |
BY <GROUPFORMAT> <DESCENDING> variable(s) <NOTSORTED>; |
where
Note: All data sets must be ordered
or indexed on the values of the BY variable if you process them using the
SET, MERGE, or UPDATE statements. If you use the MODIFY statement, your data
does not need to be ordered. However, your program might run more efficiently
with ordered data. All data sets that are being combined must include the
BY variable or variables. The position of the BY variable in the observations
does not matter.
For complete information about the BY statement, see SAS Language Reference: Dictionary.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.