I have a data set with variables. I want to rename all of those variables in a second data set and append _ADULT to all of the names but I don't want to have a big long rename statement. Does anyone know of a way to do it more easily?
proc sql; select cat('rename ',trim(name),'=',trim(name),'_Adult',';') into :na separated by ' ' from varnames; quit;
data want; set have; &na; run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!