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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.