Date: Thu, 10 May 2001 08:26:04 -0700
Reply-To: Pete Lund <pete.lund@NWCSR.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Pete Lund <pete.lund@NWCSR.COM>
Subject: Re: does the file exist?
In-Reply-To: <9F3AA1DC5073D411BF1100805FBB05684254AD@usbage41.bertelsmann.de>
Content-Type: text/plain; charset="iso-8859-1"
Hi Anthony-
You can't use the GENNUM= option with EXIST but you can use the "real"
file name that contains the same number. Try this instead:
%let check=%sysfunc(exist(lib.myfile#010)));
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of
Anthony Kilili
Sent: Thursday, May 10, 2001 8:14 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: does the file exist?
I'm trying to verify the existence of a file of a certain generation using:
%let check=%sysfunc(exist(lib.myfile(gennum=10)));
%put check=✓
this is returning 0 even though the file does exist. seems that the gennum
thing does not work...any alternatives?
Anthony