options validvarname=any;
libname xl XLSX "book1.xlsx";
data test;
set xl.xyz;
run;
libname xl clear;
I get this error when I run the above program, how can I make sure it reads the complete string irrespective of length. I have a string upto 300 characters in a variable.
also attached a test file for the code.
WARNING: Some character data was lost during transcoding in column:......
What encoding is your SAS session using?
Check the value of the automatic macro variable SYSENCODING.
Hi Its,
UTF-8
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.