Concatenating SAS Data Sets |
The CONTENTS statement in the DATASETS procedure displays information about a data set, including the names and attributes of all variables. This information reveals any problems that you might have when you try to concatenate data sets, and helps you decide whether to use the SET statement or PROC APPEND. For more information about using the CONTENTS statement in the DATASETS procedure, see Understanding SAS Data Libraries.
enables you to determine when SAS is processing the last observation in the DATA step. For more information about using the END= option in the SET statement, see Conditionally Processing Observations from Multiple SAS Data Sets.
enables you to process observations from each data set differently. For more information about using the IN= option in the SET statement, see Conditionally Processing Observations from Multiple SAS Data Sets.
For more information about variable attributes, see SAS Language Reference: Dictionary.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.