Date: Wed, 10 Dec 2003 21:01:40 -0800
Reply-To: Oeufinc <oeufinc@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Oeufinc <oeufinc@YAHOO.COM>
Subject: Re: Check in a SAS session if ascii file exist
Content-Type: text/plain; charset=us-ascii
Thanks...works also in 8.2 ;-)
"Chang Y. Chung" <chang_y_chung@HOTMAIL.COM> wrote:Hi, Stephan,
Easy in 9: not just an ascii file. :-)
Cheers,
Chang
p.s. Sorry, I could not help it -- just got it installed!
data _null_;
if fileexist("C:\Program Files\SAS\SAS System\9.0\sas.exe") then
put "WARNING: sas.exe exists!"
;
run;
/*
WARNING: sas.exe exists!
*/
On Wed, 10 Dec 2003 20:06:19 -0800, Oeufinc wrote:
>Hi there,
>
>is it possible to check in a SAS session if an ASCII file exists in an
directory?
>
>Thanks a lot in advance.
>
>Cheerio
>
>Stephan
|