Splitting and Subsetting Datasets in SAS tutorial covers SAS Subsetting variables and SAS Subsetting observation using different statements. Check for free!