Is it a character or numeric variable? Assuming it's character since you have leading zeros, then you can use the CAT() and CAT_() family of functions.
Is it a character or numeric variable? Assuming it's character since you have leading zeros, then you can use the CAT() and CAT_() family of functions.
data want; set have;
NEW_ID = catt("20", OLD_ID);
run;
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.