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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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