Can I output the log in Word format as part of the program? I know PRINTTO does ASCII text as a default, but can it be used to produce output in other formats?
You can save the log as an RTF file, which will then open in Word. I fail to see the benefit or point of doing this, however.
SAS logs are just text files without any document-style formatting like different fonts, font sizes and so on, so I don't see any advantage at all in using Word format.
@Batman wrote:
If I'm having someone else review the log, it's easier to make comments, etc in Word.
I disagree. They can make comments just as easily in a text editor rather than a word processor.
Word can easily open any plain text file. Just save the log with a .txt extension to make it easier for Word to recognize it.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.