Remember that you can use the
OBS= option in the SET statement to limit the number of observations
that are read or created during the execution of the DATA step.
data work.limitobs;
set cert.invent (obs=10);
total=instock+backord;
run;
When processed, this
DATA step creates the Work.LimitObs data set with variables but with
only 10 observations.