If you use the RENAME=
data set option when you create a data set, the new column name is
included in the output data set. If you use RENAME= on an input data
set, the new name is used in DATA step programming statements.
If you use RENAME= on
an input data set that is used in a SAS procedure, SAS changes the
name of the column in that procedure. If you use RENAME= along with
WHERE processing such as a WHERE statement or WHERE= data set option,
the new name is applied before the data is processed. You must use
the new name in the WHERE expression.
If you use RENAME= in
the same DATA step with either the DROP= or the KEEP= data set option,
the DROP= or KEEP= data set option is applied before RENAME=. You
must use the old name in the DROP= and KEEP= data set options. You
cannot drop and rename the same column in the same statement.
Note: The RENAME= data set option
has an effect only on data sets opened in output mode.