BookmarkSubscribeRSS Feed
user40
Calcite | Level 5

I got this error message on sas: 

 

 

"ERROR: some character data was lost during transcoding in the dataset amis.hddata"

what is wrong in my dataset and how can I fix this?

5 REPLIES 5
andreas_lds
Jade | Level 19

Use proc contents to check which encoding was used to create the dataset, the compare it to the encoding of your sas session. Changing the encoding of your sas-session will solve the issue.

user40
Calcite | Level 5
How do I do that?
user40
Calcite | Level 5
Hello. Can you give me an example for this?
andreas_lds
Jade | Level 19

Depends on how you are using sas and the encoding you need.

If you are using sas on a server contact the admins.

ChrisHemedinger
Community Manager

You'll find lots of details and possible solutions in this blog article:

 

Demystifying and resolving common transcoding problems in SAS

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1714 views
  • 1 like
  • 3 in conversation