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
|