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 (April 2002, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 9 Apr 2002 16:35:19 +0100
Reply-To:     Peter Crawford <peter.crawford@DB.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter Crawford <peter.crawford@DB.COM>
Subject:      Re: How to get automate SAS Log
Comments: To: "Isson, Jean-Paul" <Jean-Paul.Isson@MICROCELL.CA>
Content-type: text/plain; charset=iso-8859-1

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


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

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