BookmarkSubscribeRSS Feed
GTickner
Obsidian | Level 7

I'm writing approximately 48,000 PDF files in a macro loop similar to the following:

ODS PDF STARTPAGE=NEVER FILE=&CurFile ;

ODS NORESULTS;

TITLE ' ';' ';

DATA _NULL_;

SET CurRecord;

FILE PRINT;

PUT ' ... text stuff ... ';

RUN;

ODS PDF CLOSE;

Performance seems to slow to less than a third of its original after many (400?) PDFs are created. Any other ODS or SAS global settings that might speed the process?

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

  With so many files being created, my recommendation would be that you work with Tech Support on performance tuning.

cynthia

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
  • 1460 views
  • 0 likes
  • 2 in conversation