Here is a simple way to do it. No need to use array. Just ues rename option in the set statement.
data b; set a (rename= (adj_crYr1-adj_crYr6 = cumm_crYr1-cumm_ crYr6 adj_gpaYr1-adj_gpaYr6 = cumm_gpaYr1-cumm_gpaYr6 )); run;
Here is a simple way to do it. No need to use array. Just ues rename option in the set statement.
data b; set a (rename= (adj_crYr1-adj_crYr6 = cumm_crYr1-cumm_ crYr6 adj_gpaYr1-adj_gpaYr6 = cumm_gpaYr1-cumm_gpaYr6 )); run;
Good-enough solutions for an imperfect world
Social Media Oreo
Adventures in Data Science
Past to Future in a Picosecond
The interaction between Mathematics and the modern day world.
Code is the New Literacy
In Pursuit of Smarter Decisions for Performance