You could direct your output through ODS and the log through PROC PRINTTO.
Use PROC PRINTTO log = "<your destination with .rtf extension>" to write to
an RTF file. It will open in Word but will look like any text file opened in
Word. ODS as the name implies (output delivery system), is restricted to
directing the outputs (the output window and graphs) to other destinations
like HTML, PDF etc. The log is a diagnosis tool and not a part of the
Hope this helps.
From: Dubravko Dolic [mailto:dubro@DOLIC.DE]
Sent: Tuesday, December 02, 2003 5:04 AM
Subject: Directing Output with ODS
I want to write the log from a SAS Job directly into an RTF/PDF File.
With proc printto one could direct the log into one file and the
printouts into another file. Is this also possible with ODS. Grateful
for any Hint...
Kendle Int. Inc. Munic
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.