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;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.