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