Re: Check in a SAS session if ascii file exist

  • Follow


Hi, Stephan,

Easy in 9: not just an ascii file. :-)

Cheers,
Chang

p.s. Sorry, I could not help it -- just got it installed!

<sasl:code version="9.0">
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!
*/
</sasl:code>

On Wed, 10 Dec 2003 20:06:19 -0800, Oeufinc <oeufinc@YAHOO.COM> 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
0
Reply chang_y_chung (1988) 12/11/2003 4:45:58 AM


0 Replies
29 Views

(page loaded in 0.025 seconds)


Reply: