Previous Page | Next Page

Concatenating SAS Data Sets

Learning More

CONTENTS statement

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.

END= statement option

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.

IN= data set option

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.

Variable attributes

For more information about variable attributes, see SAS Language Reference: Dictionary.

Previous Page | Next Page | Top of Page