The SAS Output Delivery System and reporting techniques

Note "Continuing contents of page NN, which would not fit on a single physical page" in ODS PDF

Reply
New Contributor
Posts: 2

Note "Continuing contents of page NN, which would not fit on a single physical page" in ODS PDF

Hi ,

i am using ods pdf destination to generate PDF ,when  my first by value in proc report exceeds one page then i am getting the below note in PDf

"Continuing contents of page NN, which would not fit on a single physical page"

Code i hve used:

ods pdf file='C:\a.pdf';

proc report data=tdfvalue nowindows center   missing contents="" split='~' nowd;

  column (SElementName tempwhcl variabletype tempLength vlm temporigin tempcom temphead flag valuelist tdcolor);

  by valuelist;

  define valuelist / noprint ;

     define flag / noprint order;

  define tdcolor/noprint ;

     define SElementName / "Variable" style(column) = [cellwidth=9%];

     define tempwhcl / "Where" style(column) = [cellwidth=20%];

  define variabletype / "Type" style(column) = [cellwidth=8%];

     define tempLength / 'Length / ~Display~Format' style(column) = [cellwidth=8%];

     define temporigin / "Origin" style(column) = [cellwidth=10%];

  define vlm / "Controlled Terms or~Format" style(column) = [cellwidth=19%];

  define tempcom /'Derivation/Comment' style(column) = [cellwidth=24%];

  define temphead/ noprint;

  compute before _page_/style=[foreground =#800000];

  line @2 temphead $50. ;

  endcomp;

  compute tdcolor;

  if tdcolor='0' then do;

    call define(_row_,"style","style={background=#E2E2E2}");

    end;

  endcomp;

  break before flag/page contents='';

  run;

ods pdf close;

Kindly help me to solve this.

Post a Question
Discussion Stats
  • 0 replies
  • 369 views
  • 0 likes
  • 1 in conversation