Date: Tue, 13 Jan 2004 17:30:39 -0500
Reply-To: Don Stanley <don_stanley@PARADISE.NET.NZ>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Stanley <don_stanley@PARADISE.NET.NZ>
Subject: Re: System() function and the SAS System X Command Window
Hi Doug
You might want to try using a pipe rather than the system command. I find
this auto closes any windows that might get opened (not that I see any --
perhaps because I don't tend to do length system commands).
eg to copy a file to another file
filename backup pipe 'copy "c:\cc_extr_history.xls"
"c:\cc_extr_history_old.xls" ' ;
data _null_ ;
infile backup ;
stop ;
run ;
filename backup clear ;
Don
|