Hi. I need to create a new data set from an original data set (using the SET statement in the data step), but most of the variables need to be renamed using the prefix "td" and the original variable name. Unfortunately, the variables in the original data set aren't a numbered list (i.e. var1, var2, ... var n)
Is there a way to do this without individually renaming each of the variables?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.