If LBSTNRHI, LBSTNRLO, LBREFID , LBSTNRHI_US, LBSTNRLO_US are character variables then they can store both character and numeric data. Use PROC CONTENTS as I showed you to confirm if they are character or not.
Only SAS character variables can store both character and numeric data. Use PROC CONTENTS to confirm if your variables are either character or numeric:
proc contents data = MyLib.MyTable;
run;
If LBSTNRHI, LBSTNRLO, LBREFID , LBSTNRHI_US, LBSTNRLO_US are character variables then they can store both character and numeric data. Use PROC CONTENTS as I showed you to confirm if they are character or not.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.