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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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