The CHANGE statement
changes names by the order in which the old-names
in the directory listing, not in the order in which you list the changes
in the CHANGE statement.
If the old-name
file does not exist in the SAS library, PROC DATASETS stops processing
the RUN group containing the CHANGE statement and issues an error
message. To override this behavior, use the NOWARN option in the
PROC DATASETS statement.
If you change the name
of a data set that has an index, the index continues to correspond
to the data set.