Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The ASSIGN Procedure

BY Statement

BY variables ;

A BY statement can be used with PROC ASSIGN to obtain separate solutions on problems in groups defined by the BY variables. When you use a BY statement, the procedure expects the input data to be sorted in ascending order of the BY variables. If your input data set is not sorted, use the SORT procedure with a similar BY statement to sort the data, or, if appropriate, use the BY statement option NOTSORTED or DESCENDING. See Example 2.4 in the "Examples" section. For more information, refer to the discussion of the BY statement in base SAS documentation.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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