Oct 16, 2019

SAS programming tip - KEEP statement - read only few columns

If you like to read read few columns from big table with a lot columns. You can use KEEP statement to read selected columns. It helps programmer to output few columns.
Example:
 Data cars;
     Set sashelp.cars;
     Keep model year;
 Run;

No comments:

Post a Comment