Date: Thu, 19 Jan 2006 22:25:41 +0100
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Stéphane Colas <saslist@DATAMETRIC.FR>
Subject: Re: How to delete a remote txt file after reading it and using it.
Content-Type: text/plain; charset=ISO-8859-1
usually the friends on the SASlist propose to copy a .bat on a remote object to
do a task.
So I suggest you to copy a bat file which contains a delete dos command.
Selon Kassa2 Bellew <kassa2bellew@YAHOO.COM>:
> Hi Friends;
> I have a SAS Utility which runs on UNIX. This SAS program reads a text file
> from remote server called Atlanta2.
> FileName lan ftp 'hdmicnew.txt' debug cd = 'KASSA\Other_CMI_Mic'
> host='Atlanta2' user='Bellew' pass='Bellew' ;
> data Kassa;
> infile lan lrecl=247 MISSOVER pad recfm=F;
> The above skeleton of statement works good.
> The problem which I am having to be able to delete the text file
> 'hdmicnew.txt' that I read ' from Atlanta2 server. The Atlanta2 server is
> an NT server. I user SAS 8.2.
> Could some one give me a hint on how to delete a text file from NT server
> called Atlanta2 while I am running the SAS on UNIX server.
> Yahoo! Photos
> Ring in the New Year with Photo Calendars. Add photos, events, holidays,