Page 66 - SAS_manual
P. 66

6.6 Drop, keep and rename as dataset


                       Drop is used to drop unwanted variables.
                       Keep is used to keep only required variables.
                       Rename is used to change name of existing variable
               Program 6.18:  Example Keep                   output:










               Program 6.19:  Example Drop                  output:












               6.7 Simple reports using data step


               By using file statement and put statement we can create a report. You can create a text report by using
               file statement and put statement.

               Program 6.20:












                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  66
   61   62   63   64   65   66   67   68   69   70   71