Default: | the last observation in the data set |
Restrictions: | use ENDOBS= with input data sets only
cannot be used with OBS= system and data set option or FIRSTOBS= system and data set option |
Interaction: | STARTOBS= |
Engine: | SPD Engine only |
libname growth spde 'D:\SchoolAge' endobs=5; data growth.teens; input Name $ Sex $ Age Height Weight; datalines; Alfred M 14 69.0 112.5 Carol F 14 62.8 102.5 James M 13 57.3 83.0 Janet F 15 62.5 112.5 Judy F 14 64.3 90.0 Philip M 16 72.0 150.0 William M 15 66.5 112.0 ; proc print data=growth.teens; where age >13; run;The output is shown: