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.
-- Paige Miller
Register Today!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.