The SAS Output Delivery System and reporting techniques

Issue in ODS RTF page break

Reply
Occasional Contributor
Posts: 7

Issue in ODS RTF page break

I run into a problem when create report with ods rtf with SAS 9.1.3. I used proc tabulate with by statement to generate mulitple tables in one rtf file. when a table within the by variable shorter or longer than the page length, it works fine; but when a table just fit in one page, the page break line goes to next page and create an extral blank page. Here is the code I used. Is there any way to fix? I tried Startpage=, noKeepN. They didn't work. Thanks!

ods rtf file='' nokeepn bodytitle;

options nobyline;

proc tabulate;

     by id;

     class var1;

     var var2;

     tables;

run;

ods rtf close;

SAS Super FREQ
Posts: 8,743

Issue in ODS RTF page break

Hi:

  I believe that is Microsoft Word doing you a favor. These Tech Support notes outline or are relevant to the issue.

http://support.sas.com/kb/16/976.html

http://support.sas.com/kb/24/033.html

http://support.sas.com/kb/17/498.html

cynthia

Ask a Question
Discussion stats
  • 1 reply
  • 785 views
  • 0 likes
  • 2 in conversation