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)


Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.


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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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