Learning More

Comparison and logical operators
For more information, see “SAS Operators in Expressions” in Chapter 6 of SAS Language Reference: Concepts and Acting on Selected Observations.
DROP= and KEEP= data set options
Using the DROP= and KEEP= data set options to output a subset of variables to a SAS data set are discussed in Starting with SAS Data Sets. For more information, see “DROP= Data Set Option” in SAS Data Set Options: Reference and “KEEP= Data Set Option” in SAS Data Set Options: Reference.
FIRSTOBS= and OBS= data set options
Using these data set options to select observations from the beginning, middle, or end of a SAS data set are discussed in Starting with SAS Data Sets. For more information, see “FIRSTOBS= Data Set ...

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.