|
Are you perhaps omitting the extension portions of the dataset names? If
not, have you been creating SAS datasets which do not have the standard
extensions? I would advise against that.
On Mon, 8 Dec 2003 07:06:14 -0500, Droogendyk, Harry
<Harry.Droogendyk@CIBC.COM> wrote:
>Works for me, v8.2, NT 4 ( see below ). Personally, I find it a better
>practice to define libnames and refer to the libnames rather than the
>complete dataset path.
>
>Please post the pertinent sections of your log.
>
>15
>16 data 'c:\temp\harry';
>17 i = 2;
>18 run;
>
>NOTE: The data set c:\temp\harry has 1 observations and 1 variables.
>NOTE: DATA statement used:
> real time 0.03 seconds
> cpu time 0.01 seconds
>
>
>19
>20 data 'c:\temp\droog';
>21 set 'c:\temp\harry';
>22 j = i * 2;
>23 run;
>
>NOTE: There were 1 observations read from the data set c:\temp\harry.
>NOTE: The data set c:\temp\droog has 1 observations and 2 variables.
>NOTE: DATA statement used:
> real time 0.03 seconds
> cpu time 0.00 seconds
>
>
>24
>25 proc append base = 'c:\temp\append'
>26 data = 'c:\temp\droog';
>27 run;
>
>NOTE: Appending c:\temp\droog to c:\temp\append.
>NOTE: BASE data set does not exist. DATA file is being copied to BASE file.
>NOTE: There were 1 observations read from the data set c:\temp\droog.
>NOTE: The data set c:\temp\append has 1 observations and 2 variables.
>NOTE: PROCEDURE APPEND used:
> real time 0.15 seconds
> cpu time 0.03 seconds
>
>
>
>
> -----Original Message-----
> From: John F. Regus [mailto:jfregus@IX.NETCOM.COM]
> Sent: Monday, December 08, 2003 12:16 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Dataset not found when used as input to a
>DATA step or PROC APPEND
>
> I get an error message when I try to run a DATA step
>followed by a SET
> operand or when I run a PROC APPEND with a DATA=
> And the datasets that are being used are PC files and I
>fully qualify
> and put the PC file names in single quotes, e.g.
> 'C:\SMFRawdata\myfirstdataset' through
>'C:\SMFRawdata\myseconddataset'
> and so on.
>
> Yet I keep getting the error message that the dataset name
>is not found.
>
>
> To fix this problem should I put an OPTION statement before
>the DATA or
> PROC APPEND that says OPTIONS SASUSER='C:\SMFRawdata\'
>before the DATA
> or PROC APPEND?
>
> Thanks in advance.
|