LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 1996, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 13 Aug 1996 13:21:51 -0400
Reply-To:   Shirlee Allen <allensk@SMARTNET.NET>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Shirlee Allen <allensk@SMARTNET.NET>
Subject:   Re: How to change 6.11 default directories?

>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


Back to: Top of message | Previous page | Main SAS-L page