BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sampath
Calcite | Level 5

Hi,

I am trying to create ae.xpt file using following code.

libname source "xxxxx\analysis data";

libname outfile xport "xxxxx\analysis data\ae.xpt";

options nofmterr nonumber nodate missing=' ' mprint  formchar='|__|+|__+=|_/\<>*' nobyline centre;

proc copy in=source out=outfile;

  select ae;

run;

but I am getting following error.

ERROR: The character variable AEDECOD has too long a value for the OUTFILE library.

ERROR: File OUTFILE.ae.DATA has not been saved because copy could not be completed.

Similarly  I tried to create eg.xpt files using following code?

libname source "xxxxx\analysis data";

libname outfile xport "xxxxx\analysis data\eg.xpt";

options nofmterr nonumber nodate missing=' ' mprint  formchar='|__|+|__+=|_/\<>*' nobyline centre;

proc copy in=source out=outfile;

  select eg;

run;

Warning: Engine XPORT does not support SORTEDBY operations.  SORTEDBY information cannot be

         copied.

Could any one let me know how to deal with this error and warning. Is there any alternative way to create xpt fies?

Note: I used the same code for some other data sets such LB and was successfull in generating .xpt files. Issuse is only with ae and eg datasets.

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Doc_Duke
Rhodochrosite | Level 12
4 REPLIES 4
Doc_Duke
Rhodochrosite | Level 12

For the first, see

1528 - ERROR: The character variable XXX has too long a value for the SASV5XPTengine.

For the second,

14181 - XPORT engine does not support SORTEDBY operations. SORTEDBY informationcannot be copied

Just search support.sas.com with part of the error message to find the answer to this sort of question.

sampath
Calcite | Level 5

Thank you very much. Your suggestions were very helpful.

zahirraihan
Calcite | Level 5
Given links ain't working. Could you please update the link. I've been facing the same issue.
ifendo
Obsidian | Level 7

in case anyone have the same issue,please check the link:

http://support.sas.com/techsup/notes/v8/14/181.html

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 7494 views
  • 0 likes
  • 4 in conversation