01-24-2013 01:50 PM
I have 3 var,
VAR1 VAR2 VAR3 in dataset name A
want to change VAR1=FILEID VAR2=SUTSAB VAR3=ID by keeping dataset name same, A..
what code should look like?
01-24-2013 02:45 PM
Yes, but you're basically deleting your old copy and creating a new copy.
If you have a large dataset you may want to use proc datasets to rename the variables in the dataset.
proc datasets library=work;
rename VAR1=FILEID VAR2=SUTSAB VAR3=ID;