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

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
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
  • 2626 views
  • 1 like
  • 3 in conversation