BookmarkSubscribeRSS Feed
kaziumair
Quartz | Level 8

Hi everyone , 

 

I want to convert SAS log to pdf . I found a solution which works , have provided the link below .

Log to PDF 

 

Are there any other methods to convert SAS Log to PDF?

 

Thanks and Regards,

Mohammad Umair Kazi.

4 REPLIES 4
Kurt_Bremser
Super User

To be honest, I would refrain from doing this on a regular basis. Log files are much easier to handle and parse in their pure text form. And they are smaller.

And if I need to write nice documentation (like previous papers for SAS Global Forums), I copy/paste the log text into the word processor, and save the document as pdf later anyway.

kaziumair
Quartz | Level 8
Hi ,
The code for which the log will be converted to PDF is run on a monthly basis . I want to save the logs generated each month in a folder.
Kurt_Bremser
Super User

You don't need to package the logs into pdf for that. Just redirect the logs with PROC PRINTTO (if interactive) or the -log commandline option (if the code is run in batch).

All our production logs are kept as pure text and accessible through the web server.

SASKiwi
PROC Star

PDF is a publishing format. Unless you are publishing your SAS logs for some reason I see no benefit to converting them from text.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 2392 views
  • 2 likes
  • 3 in conversation