Type : SASHELP
All steps use the standard example table sashelp.class provided with SAS.
| 1 | DATA myclass; |
| 2 | SET sashelp.class; |
| 3 | where age >= 15; |
| 4 | RUN; |
| 1 | DATA myclass; |
| 2 | SET sashelp.class; |
| 3 | keep name age height; |
| 4 | *drop sex weight; |
| 5 | RUN; |
| 1 | DATA myclass; |
| 2 | SET sashelp.class; |
| 3 | FORMAT height 4.1 weight 3.; |
| 4 | RUN; |