BookmarkSubscribeRSS Feed
srisoham
Calcite | Level 5

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

2 REPLIES 2
ballardw
Super User

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.

Cynthia_sas
SAS Super FREQ

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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 4568 views
  • 0 likes
  • 3 in conversation