Hi @COMPAREMISSING , a short answer to your question is YES. But according to the SAS export @Cynthia_sas , you would not have a SAS solution in any time soon (I can be wrong).
I understand your motivation for this project, and the good news is that the method is out there for quite a long time. Here is an example for you to start, using a modified program from @Cynthia_sas , and a short description of the method is in a SAS Global Forum 2020 paper. Good Luck and Happy New Year!
title; footnote;
ods escapechar='^';
data heart; set sashelp.heart(obs=100);
pg=1+floor(_n_/35);
data shoes; set sashelp.shoes(obs=150);;
pg=1+floor(_n_/35);
options pageno=1;
ods rtf file='~/sasout/multpages.rtf';
title j=c "SASHELP.HEART" j=r 'Page ^{thispage} of ^{lastpage}' j=l 'PAGE_X_OF_Y';
proc report data=heart;
col pg sex status ageatstart diastolic systolic;
define pg /order order=internal noprint;
break after pg/page;
run;
title;
title j=l 'Page ^{thispage} of ^{lastpage}' j=c "SASHELP.SHOES" j=r 'PAGE_X_OF_Y';
proc report data=shoes;
col pg region product sales inventory;
define pg /order order=internal noprint;
break after pg/page;
run;
ods _all_ close;
title;
... View more