The SAS Output Delivery System and reporting techniques

multiple outputs to 1 page ODS PDF

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

multiple outputs to 1 page ODS PDF

I'm trying to publish 2 small outputs from PROC TABULATE into a 1 page PDF.

However I still have 2 separate pages, despite my using CONDENSE.

What could be the reason?

 

ODS PDF  style=journal file="\\S01fs200\group01\GP14105\&YYYY\G en E\pdf\TEST.PDF";
options nobyline nodate;

title "OVERVIEW";
proc tabulate data=totaal format = commax12.2 MISSING ;
   class pos type ;
   classlev pos type;
   var  production score base perc comm;
   table pos='' * type ='',
		 production ='LEVEL'  * sum ='' 
		 score ='SCORE'  * sum ='' 
		 base ='BASE'  * sum ='' 
		 perc='PERC' * sum =''  
		 comm ='COMMISSION' * sum=''/condense misstext=' ';
run;

title "INVEST: REACHED LEVELS BY AGENT";
proc tabulate data=overzicht (where = (pos = 12635)) format = commax12.2 MISSING;
   class pos ;
   var  ADVIESbedrag EWATbedrag EWATmax VERKOOPbedrag NNMdrempel INVscore TOTscore INVperc;
   table ADVIESbedrag ='ADVICE '  * sum ='' 
   		 EWATbedrag ='EWAT '  * sum ='' 
		 EWATmax  ='EWAT 10% '  * sum ='' 
		 VERKOOPbedrag ='SALES '  * sum ='' 
		 NNMdrempel ='LEVEL'  * sum =''  
		 INVscore='INVEST SCORE ' * sum ='' 
		 TOTscore='TOTAL SCORE ' * sum ='' 
 		 INVperc='PERC ' * sum ='' /condense;
run;

ODS PDF  close;

Accepted Solutions
Solution
‎03-26-2018 11:18 AM
Super User
Posts: 13,941

Re: multiple outputs to 1 page ODS PDF

By default ODS PDF generates a page for each procedure. Use the option STARTPAGE=NO on the ODS PDF statement to send all output to the same page.

 

You can interleave ODS PDF statements with this option to change behavior between procedures.

View solution in original post


All Replies
Solution
‎03-26-2018 11:18 AM
Super User
Posts: 13,941

Re: multiple outputs to 1 page ODS PDF

By default ODS PDF generates a page for each procedure. Use the option STARTPAGE=NO on the ODS PDF statement to send all output to the same page.

 

You can interleave ODS PDF statements with this option to change behavior between procedures.

New Contributor
Posts: 2

Re: multiple outputs to 1 page ODS PDF

Works perfect, Thank You ballardw!
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 123 views
  • 0 likes
  • 2 in conversation