BookmarkSubscribeRSS Feed
zhangmushi
Calcite | Level 5

I have a series of xpt files which have chinese character in . I want convert those files to .sas7bdat format , but i found that it will create disorder code in converted sas files , so how can I solve this problem?

3 REPLIES 3
zhangmushi
Calcite | Level 5

*here is my code;

libname xp xport "D:\Biosdata\xpt\ae58.xpt";

proc copy in=xpt out=work; run;

ChrisNZ
Tourmaline | Level 20

What does the LOG say?

How was the XPT file created?

What's your SAS session encoding?

zhangmushi
Calcite | Level 5

Well , thanks for the reply . There is no warning or error in log. These XPT files were send by CRO , so I do not know how  these files were created, and my session encoding is UTF8. Now my manager is contacting with CRO company,hope we can find the reason why.

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
  • 3 replies
  • 1314 views
  • 0 likes
  • 2 in conversation