BookmarkSubscribeRSS Feed
mwbates
Calcite | Level 5

 

Looking for a SAS ODS PDF option similar to the VBA option of "OpenAfterPublish:=False" when creating a PDF.

 

I'm planning to create ~60 PDF files in a macro loop and don't want to open all of them.

 

Thanks in advance.

 

Mike

1 REPLY 1
Reeza
Super User

There's a SAS option to Turn off results as generated so the files don't open automatically. This applies to all types though. 


Depending on what version of SAS you're using the location of the option can vary a little. 

Assuming BASE SAS it's under Tools>Options>Preferences>Results -> View results as they are generated

 

 

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
  • 1 reply
  • 1151 views
  • 0 likes
  • 2 in conversation