I've been searching through the threads looking for an option to the ODS PDF statement to restart page number for each proc print. Does that exist?
Or, is an OPTIONS PAGENO=1; required for each proc print ?? Ugh!
ods pdf file=pdffile notoc pgnrestart=yes??? ;
proc print ....
Well it's not THAT horrible:
options nodate number pageno=1;
ods pdf file='c:\temp\pageno.pdf';
proc print data=sashelp.shoes(obs=100);
options pageno = 10;
proc print data=sashelp.class;
proc print data=sashelp.prdsale(obs=25);
ods pdf close;
PAGENO is a system option that applies to both LISTING and PRINTER family destinations. So if there WAS some option that worked just for PDF, there would still have to be an option that worked for LISTING too. So why not make PDF use the PAGENO option that was already there?