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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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