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
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
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.