Learning More

DATA set options
For an introduction to data set options, see Reading Selected Variables.
DO statement
For information about DO-loop processing, see Finding Shortcuts in Programming.
IF statements
For more information about both the subsetting and conditional IF statements, see Acting on Selected Observations.
OUTPUT and subsetting IF statement
For information about using the OUTPUT and subsetting IF statements, see Acting on Selected Observations.
SUM statement and END= option
For information about accumulating totals and using the END= option, see Accumulating a Total for an Entire Data Set and Obtaining a Total for Each BY Group.

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.