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;
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.