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;
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;
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;
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.
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.