08-07-2013 03:41 PM
data test(rename=(rename=('A Category'n=A_Category); rename=('B Category'n=B_Category)????
I want to change the name of several variables. Will I need a separate datastep for all? FOr example I want to rename both A and B Category
08-07-2013 03:46 PM
data test(rename=('A Category'n=A_Category 'B Category'n=B_Category));
Or better yet, since you are not performing any tasks in the small data step code other than renaming, use PROC DATASETS to rename your variables.