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?
Thanks.
Is there a way to do this without individually renaming each of the variables?
Thanks.