BookmarkSubscribeRSS Feed
Q1983
Lapis Lazuli | Level 10

reg_c and pipe_c are two different proc report entries.  They show on different pages.  Is there a way to show both on the same page with reg_c first, then pipe_c???  See attachment

 

PROC REPORT DATA=reg_c headskip split='*' wrap nowd

 

style(report)=[background=black cellspacing=10 just=center font_size=11pt font_face="Calibri" bordercolor=black borderwidth=1]

style(column)=[background=white font_size=10pt bordercolor=black borderwidth=1]

 

;

 

COLUMNS _all_;

DEFINE r3&last_mth_displ3. /DISPLAY style(column)={just=center} "&last_mth_displ3.";

DEFINE r2&last_mth_displ2. /DISPLAY style(column)={just=center} "&last_mth_displ2.";

DEFINE r1&last_mth_displ1. /DISPLAY style(column)={just=center} "&last_mth_displ1.";

title1 'Registrations';

 

PROC REPORT DATA=pipe_c headskip split='*' wrap nowd

 

style(report)=[background=black cellspacing=10 just=center font_size=11pt font_face="Calibri" bordercolor=black borderwidth=1]

style(column)=[background=white font_size=10pt bordercolor=black borderwidth=1]

 

;

 

COLUMNS _all_;

DEFINE p3_&last_mth_displ3. /DISPLAY style(column)={just=center} "&last_mth_displ3.";

DEFINE p2_&last_mth_displ2. /DISPLAY style(column)={just=center} "&last_mth_displ2.";

DEFINE p1_&last_mth_displ1. /DISPLAY style(column)={just=center} "&last_mth_displ1.";

 

title1 'Pipeline';

run;


proc_report_1.png
2 REPLIES 2
ballardw
Super User

If you specify the ODS destination it may help to be specific. For RTF or PDF you would try setting the STARTPAGE option to NO.

 

ods rtf file="your file goes here" startpage=no;

 

proc report ...

 

proc report ...

 

ods rtf close;

 

 

Ksharp
Super User

It seems that you are using HTML destination ? Check Page_Break option.

 

ods html options(doc='help' page_break='no') file='/folders/myfolders/x.html';
proc print data=sashelp.class;run;
proc print data=sashelp.class;run;
ods html close;

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
  • 4394 views
  • 0 likes
  • 3 in conversation