LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 1999, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 30 Dec 1999 19:47:46 -0800
Reply-To:     Jay Zhou <zhou_jay@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Jay Zhou <zhou_jay@YAHOO.COM>
Subject:      Re: Help on deleting an external text file
Comments: To: HERMANS1 <HERMANS1@WESTAT.COM>
Content-Type: text/plain; charset=us-ascii

Yes, I used %let workdir=%sysfunc(pathname(work)) which surely resolved to the full path.

However, I was able to use %let rc=%sysfunc(fdelete(fileref)) statement to work around.

Thanks, anyway!

James

--- HERMANS1 <HERMANS1@WESTAT.COM> wrote: > Does &workdir\test.txt resolve to the full path > to the file? SAS may > have a different default path. Sig > > > ______________________________ Reply Separator > _________________________________ > Subject: Help on deleting an external text file > Author: James Zhou <jameszhou@HOTMAIL.COM> at > Internet-E-Mail > Date: 12/30/1999 1:43 PM > > > Dear SAS Users: > > I have tried the following code with noxwait option > and was unable to delete > the file. > > options noxwait; > > ... more SAS code; > > x "del &workdir\test.txt"; > > Run with PC SAS 6.12 (TS060) under NT. > Any input? > > Thanks. Happy New Year! > > James. > ______________________________________________________ > Get Your Private, Free Email at > http://www.hotmail.com >

__________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://messenger.yahoo.com


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