Selecting Variables General form, DROP= and KEEP= data set options: (DROP=variable-1 < variable-n>) (KEEP=variable-1 < variable-n>)
Formatting Variable Values General form, FORMAT statement: FORMAT variable(s) format-name; where variable(s) is the name of one or more variables whose values are to be written according to a particular pattern
Selecting Variables (1) General form, DROP= and KEEP= data set options: (DROP=variable-1 < variable-n>) (KEEP=variable-1 <
Summary of Improving Program Efficiency with Macro Variables Types of Macro Variables There are two types of macro variables: automatic and user-defined Automatic macro variables are provided by SAS software; user-defined macro variables can be created as needed
Converting Data with Functions (2) 4 data hrd newtemp; 5 set hrd temp; 6 Salary=payrate*hours; 7 run; NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column)