As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Sample STARTPAGE/COLUMNS Program

From sasCommunity
Jump to: navigation, search

This is the read more page for Tips:Multiple Reports Per Page which is one of the Tip of the Day pages and is a simple program that demonstrates the use of the STARTPAGE and COLUMNS options to combine output from multiple PROCs onto a single page.

Please consult the

This output was produced by the following program:

ods listing close;
options orientation=landscape;
ods pdf file='MultipleTablesPerPageSample.pdf' notoc startpage=never;
 
proc print data=sashelp.shoes;
 title 'Full Width';
 where subsidiary = 'Algiers';
run;
 
proc print data=sashelp.shoes;
 where subsidiary = 'Cairo';
run;
 
ods pdf startpage=now columns=2;
 
proc print data=sashelp.class;
 where sex = 'F';
 title 'Panels';
run;
 
ods pdf startpage=now;
 
proc print data=sashelp.class;
 where sex = 'M';
run;
 
ods pdf columns=1;
 
ods pdf startpage=now;
 
proc print data=sashelp.retail(obs=20);
 title 'Back to Full Width';
run;
 
ods _all_ close;