The SAS Output Delivery System and reporting techniques

how to remove/reduce space between reports?

Reply
Occasional Contributor
Posts: 5

how to remove/reduce space between reports?

Hi,

  I am trying to combine multiple reports on single page. Clients want all on single page on RTF. I am using ODS RTF. Can someone provide any help to remove or reduce gaps between when multiple reports are produced using ODS STARTPAGE = NO.  Here is my code and output (attached in PDF format).

ods  rtf style = journal text = "~S={font=('ARIAL',8pt,bold) just=c } First Report1 ";

proc print data = sashelp.class(obs = 5) noobs l;

run;

ods  rtf startpage = no text = "~S={font=('ARIAL',8pt,bold) just=c } Second Report";

proc print data = sashelp.class(obs = 5) noobs l;

run;

ods _all_ close;



Thanks,

Sri

Super User
Posts: 11,128

Re: how to remove/reduce space between reports?

There's not much space in the PDF version. I assume from my experience that you are talking about there being two blank lines between every table and following table or title. When I asked about this about two years ago the answer was basically not much that can be done as those lines are added by some fundamental class that we can't adjust.

The best I came up with was to make the lines the smallest font size I could get Word to accept.

SAS Super FREQ
Posts: 8,819

Re: how to remove/reduce space between reports?

Hi:

  In SAS "original" ODS RTF, there is no easy way from the SAS end, to change the space between tables. However, starting in SAS 9.2, with ODS TAGSETS.RTF (the new "measured" RTF destination), there is a style element that "touches" the space between tables. Look at this previous forum posting (https://communities.sas.com/thread/30806?start=0) and read about PARSKIP in the link in that post.

cynthia

Ask a Question
Discussion stats
  • 2 replies
  • 1255 views
  • 0 likes
  • 3 in conversation