Date: Wed, 10 Apr 2002 09:18:50 +0200
Reply-To: Mernitz Frank <Frank.Mernitz@TAB.THUERINGEN.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mernitz Frank <Frank.Mernitz@TAB.THUERINGEN.DE>
Subject: Re: AW: How to get automate SAS Log
Content-Type: text/plain; charset="iso-8859-1"
Hi Peter,
Im very interested in your solution:
"a unique alt.log for each display manager"
Im analysing the code build in the last years, so I try to separate the
batch logs into unique logs for every programm.(But also the "all"-log over
all the batch - it works: config.sas ... altog - like you wrote )
I thought to do in that manner:
between every call I start in the batch a step. The step should tell the
system : "now a second log with a separate <name>"
(I think the name would be a counter at first. I dont know how to bring the
names of running scl's and sources print to the log)
So I think your macro will help me.
unfortunately I dont find the archive.
the Listserver responses with:
"...
> Search SAS-L 'upalts'
Archives are not available for the SAS-L list.
..."
is it in your own archives also ?
thanks in advance,
frank
> -----Ursprüngliche Nachricht-----
> Von: Peter Crawford [SMTP:peter.crawford@DB.COM]
> Gesendet am: Dienstag, 9. April 2002 17:35
> An: SAS-L@AKH-WIEN.AC.AT
> Betreff: Re: How to get automate SAS Log
>
I think this is what the -altlog option provides.
It works in both display manager and batch sas.
Even when log is re-directed away from "normal"
with proc printto procedure, or cleared in display
manager with commands "Clear Log" or "Clear all"
the altlog still holds it all.
There is also -altprint available to keep a copy of
the output listing window( but I don't think it keeps
output generated for other ODS destinations when
you
ods listing close;)
If you always want to write to the same log file,
use config file option (alternatively, on sas invocation line)
-altlog your_alt.log
If you want a unique alt.log for each display manager
session, then search the sas-l archives for my macro
%upalts
good luck
Peter Crawford
Datum: 09.04.2002 14:56
An: SAS-L@LISTSERV.UGA.EDU
Antwort an: "Isson, Jean-Paul" <Jean-Paul.Isson@MICROCELL.CA>
Betreff: How to get automate SAS Log
Nachrichtentext:
Hi SAS-L,
I am wondering if there is some way( option or function)
that I could use to save automatically the log of SAS code that
I execute.
In fact,I would like get an automate SAS Log saved into given logfile.
Anay help will be very appreciated.
Thanks!
Jean-Paul Isson
Statistical specialist
Customer Behavior Modeling
Data Base Marketing.
Microcell Solution
Tel:514-814-5519
mail to :jean-paul.isson@microcell.ca