Methods of Combining SAS Data Sets |
Interleaving combines individual, sorted SAS data sets into one sorted SAS data set. For each observation, the following figure shows the value of the variable by which the data sets are sorted. (In this example, the data sets are sorted by the variable Year.) You interleave data sets using a SET statement along with a BY statement.
Interleaving SAS Data Sets
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.