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;
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.