The SAS Output Delivery System and reporting techniques

Re: ods pdf multiple reports in single pdf with different style

Reply
New Contributor Vid
New Contributor
Posts: 4

Re: ods pdf multiple reports in single pdf with different style


Hi,

I am generating 2 different outputs in a single pdf using proc report with ods.  Is it possible to use 2 different styles for each of the output generating in 2 different pages of the same pdf?

Thanks

Vidya

Grand Advisor
Posts: 17,338

Re: ods pdf multiple reports in single pdf with different style

A very basic case seems to work for me.

ods pdf file="C:\temp\test.pdf" style=journal;

title 'Style=Journal';

proc print data=sashelp.class;

run;

ods pdf style=meadow;

title 'Style=Meadow';

proc print data=sashelp.class;

run;

ods pdf close;

New Contributor Vid
New Contributor
Posts: 4

Re: ods pdf multiple reports in single pdf with different style

Thanks Reeza.  It works.

Vidya

Ask a Question
Discussion stats
  • 2 replies
  • 396 views
  • 0 likes
  • 2 in conversation