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
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
|