The RENAME statement (and dataset options) can now handle renaming lists of variable if both the SOURCE and TARGET names are simple numerical suffix lists. So I could write statements like these:
rename old1-old5=new1-new5 ;
rename old1-old5=new6-new10 ;
rename old1-old5=old2-old6;
But frequently we have other lists of variable names, including just simple space delimited names like you would use in any SAS statement. I would request that we enhance the RENAME statement to allow the addition of extra parenthesis to rename lists of variables. So things like this:
rename (a b c d e)=(name age sex height weight);
rename old1-old5=(a b c d e);
rename a--e=var1-var5 ;
rename (name age sex height weight)=var1-var5 ;
rename new:=var1-var5;