G'day!
I just switched computers. I am having trouble with SAS as I had an already existing SAS file that I am asking SAS to recognize and am getting the following note and error:
NOTE: Data file J.ALL.DATA is in a format that is native to another host, or the file encoding does not match the session
encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce
performance
ERROR: Some character data was lost during transcoding in the dataset J.ALL.DATA. Either the data contains characters that are
not representable in the new encoding or truncation occurred during transcoding.
Any help you can give will be much appreciated. Thank you.
Make sure that your current SAS setup uses the same session encoding that your old one used. I suspect that your "new" setup is set to WLATIN1, while your "old" used UTF-8.
Save it as sasv9.cfg. If Editor adds a .txt extension on its own, use Windows Explorer to remove that.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.