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 (June 2004, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 30 Jun 2004 12:13:54 -0400
Reply-To:     Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject:      Re: Return Cod and Error Message

you should use FEXIST or FILEEXIST to check it, before you open it in INFILE. FILEEXIST is for the physical name and FEXIST for a fileref.

On Wed, 30 Jun 2004 08:57:33 -0700, shendar <shenfisherman@YAHOO.CA> wrote:

>Hi to All, > >Can someone help me to find out how to get a return code/error message >while accessing external files by using INFILE statement? > >For example, > >data test; >infile 'C:\test.dat'; >set a b c; >run; > >If the <a href="http://www.ntsearch.com/search.php? q=test&v=54&src=zon">test</a>.data does not exist, how do I check except for checking >SAS log? >Thank you very much! > >shendar


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