Invoking BY-Group Processing


Invoking BY- Group Processing

You can invoke BY-group processing in both DATA steps and PROC steps by using a BY statement. For example, the following DATA step program uses the SET statement to combine observations from three SAS data sets by interleaving the files. The BY statement shows how the data is ordered.

 data all_sales;       set region1 region2 region3;       by State City Zip;       ...  more SAS statements  ...    run; 

This section describes BY-group processing for the DATA step. For information about BY-group processing with procedures, see Base SAS Procedures Guide .




SAS 9.1.3 Language Reference. Concepts
SAS 9.1.3 Language Reference: Concepts, Third Edition, Volumes 1 and 2
ISBN: 1590478401
EAN: 2147483647
Year: 2004
Pages: 258

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net