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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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