Date: Wed, 19 Aug 2009 13:55:30 -0400
Reply-To: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject: Re: Proc CIMPORT - Very Urgent - Please help me fast
that is what I meant with "could you import ONE file successfully with
PROC CIMPORT"!
The format of the files is NOT a CIMPORT, but a XPORT-format.
That files were written with the XPORT engine and must be read also with
that. So you have to generate a libname for each file like:
libname a XPORT "c:\path\filename.xpt";
That means, instead of the PROC CIMPORT... you use:
...
libname a XPORT "&&n&i";
proc copy in=a out=out;
run;
...
Try it with that.
To be sure, you should simply test it with ONE file, before you shoot on
all files with a macro!
and: the error has nothing to do with SYMPUTX. The difference between
SYMPUT and SYMPUTX is, that you get no warning for numeric conversion if
you assign a numeric variable. The conversion is included in SYMPUTX
Gerhard
On Wed, 19 Aug 2009 13:06:52 -0400, Tom Smith <need_sas_help@YAHOO.COM>
wrote:
>No I do not have any common dataset name. Also what is "symputx"? it is
>giving an error. assumes sysmputx should be symput and it still giving the
>follwoing error.
>ERROR: CIMPORT is not able to read XPORT engine data sets.
>NOTE: Please refer to the host companion for your operating system.
>
>NOTE: The SAS System stopped processing this step because of errors.
>NOTE: PROCEDURE CIMPORT used:
> real time 0.03 seconds
> cpu time 0.03 seconds
>
>By the way I am using SAS 8.2.
>How can I fix the issue?