Selected Observations and Variables

You can choose the observations and variables that appear in your report. In addition, you can remove the default Obs column that displays observation numbers.

     libname clinic 'your-SAS-data-library';
     proc print data=clinic.admit noobs;
        var age height weight fee;
        where age>30;
     run;

Age Height Weight Fee
34 66 152 124.80
31 61 123 149.75
43 63 137 149.75
51 71 158 124.80
32 67 151 149.75
35 70 173 149.75
34 73 154 124.80
49 64 172 124.80
44 66 140 149.75
40 69 163 124.80
47 72 173 124.80
60 71 191 149.75
43 65 123 124.80
41 67 141 149.75
54 71 183 149.75


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement