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.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 2459 views
  • 0 likes
  • 2 in conversation