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 (January 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 19 Jan 2006 22:25:41 +0100
Reply-To:     saslist@DATAMETRIC.FR
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.
In-Reply-To:  <20060119200826.55704.qmail@web30910.mail.mud.yahoo.com>,
              <128.192.1.103.1137701357.7515@mx3.ovh.net>
Content-Type: text/plain; charset=ISO-8859-1

an idea,

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.

Stéphane.

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; > input > ….. > ……… > Run; > > 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. > > Thanks; > Kassa > > > > > --------------------------------- > Yahoo! Photos > Ring in the New Year with Photo Calendars. Add photos, events, holidays, > whatever. >


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