BookmarkSubscribeRSS Feed
Pyrite | Level 9



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




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.




Pyrite | Level 9
Hi, Thanks! I found the following<>
and changed it but it asked me if I wanted to save the file and the only option is to save it as .txt or under All Files but not a cfg file. What next?

Pyrite | Level 9
Thanks. I tried it and I am still getting the same encoding error.
When I check the dataset the encoding is the following: shift-jis Japanese (SJIS)



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 2 in conversation