BookmarkSubscribeRSS Feed
Batman
Quartz | Level 8

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?

6 REPLIES 6
PaigeMiller
Diamond | Level 26

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.

--
Paige Miller
SASKiwi
PROC Star

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
Quartz | Level 8
If I'm having someone else review the log, it's easier to make comments, etc in Word.
PaigeMiller
Diamond | Level 26

@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.

--
Paige Miller
Reeza
Super User
SAS does offer Jupyter Notebooks option to code in as well, in case that's something of interest.

https://blogs.sas.com/content/sasdummy/2016/04/24/how-to-run-sas-programs-in-jupyter-notebook/

And this feature directly in SAS Studio:
https://communities.sas.com/t5/SAS-Studio/Getting-the-SAS-program-Code-results-and-output-in-one-fil...
How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 1817 views
  • 2 likes
  • 5 in conversation