BookmarkSubscribeRSS Feed
deleted_user
Not applicable
The import code:

libname myin xport "C:\project\temp\peter\edc\ODI 1_0.xpt";
libname xptout 'C:\project\temp\peter\edc\';

proc copy in=myin out=xptout MEMTYPE=DATA;
run;

The log file with error:
NOTE: Input library MYIN is sequential.
NOTE: Copying MYIN.ODI 1_0 to XPTOUT.ODI 1_0 (memtype=DATA).
ERROR: The value ODI 1_0 is not a valid SAS name.
ERROR: File XPTOUT.'ODI 1_0'n.DATA has not been saved because copy could not be completed.
NOTE: Statements not processed because of errors noted above.
NOTE: PROCEDURE COPY used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds

NOTE: The SAS System stopped processing this step because of errors.
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
For the future, this type of post is more suitable for the forum named "SAS Macro Facility, Data Step and SAS Language Elements", rather than posting in the very first forum in the list.

Though you have not shared info at all about what you are attempting to accomplish (from-environment, to-environment, SAS version, to start), it's somewat clear that you are attempting to copy an XPORT format SAS dataset.

So, from the diagnostic and knowing SAS naming restrictions, I would say that your problem source is that a SAS data library member cannot have an imbedded blank character.

Suggest you renaming the XPORT format file and at least replace the "blank" with an underscore. You will also want to ensure that the file has been transfered in binary-format, as well.

Scott Barry
SBBWorks, Inc.


Moving and Accessing SAS Files between Operating Environments
http://support.sas.com/documentation/cdl/en/movefile/59598/HTML/default/moveacc.htm

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 16. 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
  • 1 reply
  • 597 views
  • 0 likes
  • 2 in conversation