| Date: | Sat, 24 Jan 2009 16:05:25 -0800 |
| Reply-To: | Shankar <shankar.stat@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Shankar <shankar.stat@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | display LOG output as well as save LOG output in a file,
in batch mode in Windows |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
hi all,
I have several batch programs running on Windows; I am able to
redirect the log output to an external file;
Is there a way to display the log output to a screen as well, while
the batch is running?
I searched the archives and tried some ideas ( using altlog/log/
terminal options, sys$output etc..) but nothing worked..most ideas
seem to be specific to VMS;
I found some tip on SAS tech support:
http://support.sas.com/kb/10/200.html
However this method as is will not allow me to save log in a file; I
tried to combine this idea with altlog option--and I was able to save
log in a file and display log contents *after* the program is done;
What I need is to be able to display log while the program is running,
and save the log to a file, in batch mode;
Can any one please suggest any approaches or ideas that might help?
Please note that I am using SAS 9.1.3 on WIN NT and each batch program
is a .bat file;
thanks,
Shankar
|