Previous PageNext Page

Subsetting SAS data sets
Creating a data set that is a subset of another data set, pulling off selected observations and/or variables, is called subsetting.
You can subset observations (rows);
You can subset variables (columns),
or both.
In the data step, this is often accomplished with the SET statement.

Previous PageTable Of ContentsNext Page