|
>When I put the following infile statement in a data step:
>
>data;
>infile 'testfile.txt'; run;
>
>I get the error message: Physical file does not exist,C:\SAS\testfile.txt.
>
>If it were in the SAS directory, it would be okay.
>
>How can I change the default directory so that I can give file names without a
>complete path and SAS can find them?
>
>I.e., if I were using directory C:\96fct\wc, can I change defaults so that SAS
>automatically tries to find the files (and creates output files) on this
>directory?
>
>--Hays McLean
>
>
Hays,
I believe that when you use the infile statement
to point to a file you have to include the whole path within
the quotes.
i.e. infile 'c:\96fct\wc\testfile.txt';
Shirlee
|