LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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?
Comments: To: Anthony.Kilili@BMGDIRECT.COM
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=&check;

this is returning 0 even though the file does exist. seems that the gennum thing does not work...any alternatives?

Anthony


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