<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODS layout Gridded won't publish all tables in ONE PAGE! in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743585#M25022</link>
    <description>&lt;P&gt;Without your data we can't run your code. &lt;BR /&gt;&lt;BR /&gt;You say you want a 2 x 3 (2 rows, 3 columns) but your statement is only asking for two columns?&lt;BR /&gt;&lt;BR /&gt;ods layout gridded &lt;BR /&gt;columns=2 ; &lt;BR /&gt;&lt;BR /&gt;What happens if you actually specify your columns/rows as well as the sizes to ensure it fits on a page? &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods layout gridded
rows = 2 columns=3 ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;EDIT: That worked for me, after removing the sizes. You can control them more explicitly if needed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options nodate nonumber /*nocenter*/ orientation=landscape  /*papersize=A4*/ leftmargin=0.25in rightmargin=0.001in bottommargin=0.001in; /*avoid date and timestamp on pdf outputs*/
ods pdf file='/home/fkhurshed/test.pdf' NOGTITLE NOGFOOTNOTE STARTPAGE=no;


ods escapechar='~';

ods layout gridded rows = 2 columns=3 ;

ods region  ;
		ods text='Text1';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region ;
		ods text='Text2';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region ;
		ods text='Text3';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region ;
		ods text='Text4';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region;
		ods text='Text5';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region;
		ods text='Text6';
		proc print data=sashelp.air (obs=2) noobs label;
		run;
		
footnote1 j=left 'footnote';
ods layout end;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;LI-SPOILER&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/383259"&gt;@paris_bloom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options nodate nonumber /*nocenter*/ orientation=landscape  /*papersize=A4*/ leftmargin=0.25in rightmargin=0.001in bottommargin=0.001in; /*avoid date and timestamp on pdf outputs*/
ods pdf file='/test.pdf' NOGTITLE NOGFOOTNOTE STARTPAGE=no;


ods escapechar='~';

ods layout gridded 
columns=2  ;

ods region  ;
		ods text='Text1';
		proc tabulate data=sep_dataset s=[just=c ] format=comma12.2;
		class servbd /order=data preloadfmt mlf;
		class band2 /order=data preloadfmt mlf;
		var pri;
		table  
		servbd='Years of Service' ALL='Total'*{style=[font_weight=bold]},
		band2='Age Groups'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]}
		/printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format servbd $servbd. band2 $Band2_.;
		run;

ods region ;
		ods text='Text2';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class retfy /order=data preloadfmt mlf;
		class branch;
		var pri;
		table 
		retfy='Fiscal Years' ALL='Total'*{style=[font_weight=bold]}, pri=''*(N='Number' colpctn='%'*f=pctfmt.*{style=[font_weight=bold]})/*Add column here*/
		/printmiss misstext='0'; 
		where region='HQ' and status=1; 
		format retfy $retfy. ; 
		run;

ods region ;
		ods text='Text3';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class group /order=data preloadfmt mlf;
		class level /order=data preloadfmt mlf;
		class branch;
		var pri;
		table  
		group='Group' ALL='Total'*{style=[font_weight=bold]},
		level='Level'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]} 
		/printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format group $group. level $level.; 
		run;

ods region ;
		ods text='Text4';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class sex/order=data preloadfmt mlf;
		class branch;
		var age psserv ;
		table 
		sex='Gender' all='Total'*{style=[font_weight=bold]}, age*(mean=''*f=8.1) psserv='Years of Service'*(mean=''*f=8.1)*{style=[just=c ]} 

		  /box='Average' printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format sex $sex. ; 
		run;

ods region;
		ods text='Text5';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class status /order=data preloadfmt mlf;;

		class branch;
		var pri ;
		table branch='Program' ALL='Total'*{style=[font_weight=bold just=c]}, 

		 status='Employment Type'*(n='') ALL='Total'*{style=[font_weight=bold just=c]}*(n='Total' colpctn='%'*f=pctfmt.) 
		/printmiss misstext='0'; 

		where region='HQ'; 
		format branch $program. status status.; 
		run;

ods region;
		ods text='Text6';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class sex /order=data preloadfmt mlf;
		class status;

		class branch;
		var pri ;
		table  
		sex='Gender'  all='Total'*{style=[font_weight=bold just=c]}, status='Employment Type'*(N='') ALL='Total'*{style=[font_weight=bold just=c]}*(N='')
		/printmiss misstext='0'; 

		where region='HQ'; *FOR HQ TABLES ONLY;
		format sex  $sex. status status.; 
		run;

footnote1 j=left 'footnote';
ods layout end;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;/LI-SPOILER&gt;</description>
    <pubDate>Tue, 25 May 2021 15:57:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-05-25T15:57:04Z</dc:date>
    <item>
      <title>ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743571#M25020</link>
      <description>&lt;P&gt;I'm using ODS layout gridded and ODS PDF to publish 6 tables (2 rows and 3 columns) in one page.&lt;/P&gt;&lt;P&gt;However, SAS keeps separating the tables into three pages and publishes two tables on each page only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already stated STARTPAGE=NO in the options.&lt;/P&gt;&lt;P&gt;What else am I missing?&lt;/P&gt;&lt;P&gt;I use 6 ODS REGION statements along with the ODS GRIDDED:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Options nodate nonumber /*nocenter*/ orientation=landscape /*papersize=A4*/ leftmargin=0.25in rightmargin=0.001in bottommargin=0.001in; /*avoid date and timestamp on pdf outputs*/&lt;BR /&gt;ods pdf file='/test.pdf' NOGTITLE NOGFOOTNOTE STARTPAGE=no;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods escapechar='~';&lt;/P&gt;&lt;P&gt;ods layout gridded&lt;BR /&gt;columns=2 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text1';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c ] format=comma12.2;&lt;BR /&gt;class servbd /order=data preloadfmt mlf;&lt;BR /&gt;class band2 /order=data preloadfmt mlf;&lt;BR /&gt;var pri;&lt;BR /&gt;table&lt;BR /&gt;servbd='Years of Service' ALL='Total'*{style=[font_weight=bold]},&lt;BR /&gt;band2='Age Groups'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]}&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ' and status=1;&lt;BR /&gt;format servbd $servbd. band2 $Band2_.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text2';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class retfy /order=data preloadfmt mlf;&lt;BR /&gt;class branch;&lt;BR /&gt;var pri;&lt;BR /&gt;table&lt;BR /&gt;retfy='Fiscal Years' ALL='Total'*{style=[font_weight=bold]}, pri=''*(N='Number' colpctn='%'*f=pctfmt.*{style=[font_weight=bold]})/*Add column here*/&lt;BR /&gt;/printmiss misstext='0';&lt;BR /&gt;where region='HQ' and status=1;&lt;BR /&gt;format retfy $retfy. ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text3';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class group /order=data preloadfmt mlf;&lt;BR /&gt;class level /order=data preloadfmt mlf;&lt;BR /&gt;class branch;&lt;BR /&gt;var pri;&lt;BR /&gt;table&lt;BR /&gt;group='Group' ALL='Total'*{style=[font_weight=bold]},&lt;BR /&gt;level='Level'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]}&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ' and status=1;&lt;BR /&gt;format group $group. level $level.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text4';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class sex/order=data preloadfmt mlf;&lt;BR /&gt;class branch;&lt;BR /&gt;var age psserv ;&lt;BR /&gt;table&lt;BR /&gt;sex='Gender' all='Total'*{style=[font_weight=bold]}, age*(mean=''*f=8.1) psserv='Years of Service'*(mean=''*f=8.1)*{style=[just=c ]}&lt;/P&gt;&lt;P&gt;/box='Average' printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ' and status=1;&lt;BR /&gt;format sex $sex. ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region;&lt;BR /&gt;ods text='Text5';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class status /order=data preloadfmt mlf;;&lt;/P&gt;&lt;P&gt;class branch;&lt;BR /&gt;var pri ;&lt;BR /&gt;table branch='Program' ALL='Total'*{style=[font_weight=bold just=c]},&lt;/P&gt;&lt;P&gt;status='Employment Type'*(n='') ALL='Total'*{style=[font_weight=bold just=c]}*(n='Total' colpctn='%'*f=pctfmt.)&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ';&lt;BR /&gt;format branch $program. status status.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region;&lt;BR /&gt;ods text='Text6';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class sex /order=data preloadfmt mlf;&lt;BR /&gt;class status;&lt;/P&gt;&lt;P&gt;class branch;&lt;BR /&gt;var pri ;&lt;BR /&gt;table&lt;BR /&gt;sex='Gender' all='Total'*{style=[font_weight=bold just=c]}, status='Employment Type'*(N='') ALL='Total'*{style=[font_weight=bold just=c]}*(N='')&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ'; *FOR HQ TABLES ONLY;&lt;BR /&gt;format sex $sex. status status.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;footnote1 j=left 'footnote';&lt;BR /&gt;ods layout end;&lt;BR /&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:50:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743571#M25020</guid>
      <dc:creator>paris_bloom</dc:creator>
      <dc:date>2021-05-25T14:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743580#M25021</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options nodate nonumber /*nocenter*/ orientation=landscape  /*papersize=A4*/ leftmargin=0.25in rightmargin=0.001in bottommargin=0.001in; /*avoid date and timestamp on pdf outputs*/
ods pdf file='/test.pdf' NOGTITLE NOGFOOTNOTE STARTPAGE=no;


ods escapechar='~';

ods layout gridded 
columns=2  ;

ods region  ;
		ods text='Text1';
		proc tabulate data=sep_dataset s=[just=c ] format=comma12.2;
		class servbd /order=data preloadfmt mlf;
		class band2 /order=data preloadfmt mlf;
		var pri;
		table  
		servbd='Years of Service' ALL='Total'*{style=[font_weight=bold]},
		band2='Age Groups'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]}
		/printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format servbd $servbd. band2 $Band2_.;
		run;

ods region ;
		ods text='Text2';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class retfy /order=data preloadfmt mlf;
		class branch;
		var pri;
		table 
		retfy='Fiscal Years' ALL='Total'*{style=[font_weight=bold]}, pri=''*(N='Number' colpctn='%'*f=pctfmt.*{style=[font_weight=bold]})/*Add column here*/
		/printmiss misstext='0'; 
		where region='HQ' and status=1; 
		format retfy $retfy. ; 
		run;

ods region ;
		ods text='Text3';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class group /order=data preloadfmt mlf;
		class level /order=data preloadfmt mlf;
		class branch;
		var pri;
		table  
		group='Group' ALL='Total'*{style=[font_weight=bold]},
		level='Level'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]} 
		/printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format group $group. level $level.; 
		run;

ods region ;
		ods text='Text4';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class sex/order=data preloadfmt mlf;
		class branch;
		var age psserv ;
		table 
		sex='Gender' all='Total'*{style=[font_weight=bold]}, age*(mean=''*f=8.1) psserv='Years of Service'*(mean=''*f=8.1)*{style=[just=c ]} 

		  /box='Average' printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format sex $sex. ; 
		run;

ods region;
		ods text='Text5';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class status /order=data preloadfmt mlf;;

		class branch;
		var pri ;
		table branch='Program' ALL='Total'*{style=[font_weight=bold just=c]}, 

		 status='Employment Type'*(n='') ALL='Total'*{style=[font_weight=bold just=c]}*(n='Total' colpctn='%'*f=pctfmt.) 
		/printmiss misstext='0'; 

		where region='HQ'; 
		format branch $program. status status.; 
		run;

ods region;
		ods text='Text6';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class sex /order=data preloadfmt mlf;
		class status;

		class branch;
		var pri ;
		table  
		sex='Gender'  all='Total'*{style=[font_weight=bold just=c]}, status='Employment Type'*(N='') ALL='Total'*{style=[font_weight=bold just=c]}*(N='')
		/printmiss misstext='0'; 

		where region='HQ'; *FOR HQ TABLES ONLY;
		format sex  $sex. status status.; 
		run;

footnote1 j=left 'footnote';
ods layout end;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 May 2021 15:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743580#M25021</guid>
      <dc:creator>paris_bloom</dc:creator>
      <dc:date>2021-05-25T15:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743585#M25022</link>
      <description>&lt;P&gt;Without your data we can't run your code. &lt;BR /&gt;&lt;BR /&gt;You say you want a 2 x 3 (2 rows, 3 columns) but your statement is only asking for two columns?&lt;BR /&gt;&lt;BR /&gt;ods layout gridded &lt;BR /&gt;columns=2 ; &lt;BR /&gt;&lt;BR /&gt;What happens if you actually specify your columns/rows as well as the sizes to ensure it fits on a page? &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods layout gridded
rows = 2 columns=3 ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;EDIT: That worked for me, after removing the sizes. You can control them more explicitly if needed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options nodate nonumber /*nocenter*/ orientation=landscape  /*papersize=A4*/ leftmargin=0.25in rightmargin=0.001in bottommargin=0.001in; /*avoid date and timestamp on pdf outputs*/
ods pdf file='/home/fkhurshed/test.pdf' NOGTITLE NOGFOOTNOTE STARTPAGE=no;


ods escapechar='~';

ods layout gridded rows = 2 columns=3 ;

ods region  ;
		ods text='Text1';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region ;
		ods text='Text2';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region ;
		ods text='Text3';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region ;
		ods text='Text4';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region;
		ods text='Text5';
		proc print data=sashelp.air (obs=2) noobs label;
		run;

ods region;
		ods text='Text6';
		proc print data=sashelp.air (obs=2) noobs label;
		run;
		
footnote1 j=left 'footnote';
ods layout end;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;LI-SPOILER&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/383259"&gt;@paris_bloom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options nodate nonumber /*nocenter*/ orientation=landscape  /*papersize=A4*/ leftmargin=0.25in rightmargin=0.001in bottommargin=0.001in; /*avoid date and timestamp on pdf outputs*/
ods pdf file='/test.pdf' NOGTITLE NOGFOOTNOTE STARTPAGE=no;


ods escapechar='~';

ods layout gridded 
columns=2  ;

ods region  ;
		ods text='Text1';
		proc tabulate data=sep_dataset s=[just=c ] format=comma12.2;
		class servbd /order=data preloadfmt mlf;
		class band2 /order=data preloadfmt mlf;
		var pri;
		table  
		servbd='Years of Service' ALL='Total'*{style=[font_weight=bold]},
		band2='Age Groups'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]}
		/printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format servbd $servbd. band2 $Band2_.;
		run;

ods region ;
		ods text='Text2';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class retfy /order=data preloadfmt mlf;
		class branch;
		var pri;
		table 
		retfy='Fiscal Years' ALL='Total'*{style=[font_weight=bold]}, pri=''*(N='Number' colpctn='%'*f=pctfmt.*{style=[font_weight=bold]})/*Add column here*/
		/printmiss misstext='0'; 
		where region='HQ' and status=1; 
		format retfy $retfy. ; 
		run;

ods region ;
		ods text='Text3';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class group /order=data preloadfmt mlf;
		class level /order=data preloadfmt mlf;
		class branch;
		var pri;
		table  
		group='Group' ALL='Total'*{style=[font_weight=bold]},
		level='Level'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]} 
		/printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format group $group. level $level.; 
		run;

ods region ;
		ods text='Text4';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class sex/order=data preloadfmt mlf;
		class branch;
		var age psserv ;
		table 
		sex='Gender' all='Total'*{style=[font_weight=bold]}, age*(mean=''*f=8.1) psserv='Years of Service'*(mean=''*f=8.1)*{style=[just=c ]} 

		  /box='Average' printmiss misstext='0'; 

		where region='HQ' and status=1; 
		format sex $sex. ; 
		run;

ods region;
		ods text='Text5';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class status /order=data preloadfmt mlf;;

		class branch;
		var pri ;
		table branch='Program' ALL='Total'*{style=[font_weight=bold just=c]}, 

		 status='Employment Type'*(n='') ALL='Total'*{style=[font_weight=bold just=c]}*(n='Total' colpctn='%'*f=pctfmt.) 
		/printmiss misstext='0'; 

		where region='HQ'; 
		format branch $program. status status.; 
		run;

ods region;
		ods text='Text6';
		proc tabulate data=sep_dataset s=[just=c] format=comma12.2;
		class sex /order=data preloadfmt mlf;
		class status;

		class branch;
		var pri ;
		table  
		sex='Gender'  all='Total'*{style=[font_weight=bold just=c]}, status='Employment Type'*(N='') ALL='Total'*{style=[font_weight=bold just=c]}*(N='')
		/printmiss misstext='0'; 

		where region='HQ'; *FOR HQ TABLES ONLY;
		format sex  $sex. status status.; 
		run;

footnote1 j=left 'footnote';
ods layout end;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 25 May 2021 15:57:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743585#M25022</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-25T15:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743651#M25023</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your response..&lt;/P&gt;&lt;P&gt;I tried adding the rows=3 and still no luck. I get three pages ( two tables on each page) on two columns.&lt;/P&gt;&lt;P&gt;My six tables are of various sizes...&lt;/P&gt;&lt;P&gt;How do I control them more explicitly?&lt;/P&gt;&lt;P&gt;I thought the point of ODS Gridded layout was to do the sizing automatically.&lt;/P&gt;&lt;P&gt;Your help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 18:14:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743651#M25023</guid>
      <dc:creator>paris_bloom</dc:creator>
      <dc:date>2021-05-25T18:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743657#M25024</link>
      <description>I'm not aware of ODS GRIDDED sizing the data automatically, what makes you think it will size things automatically?&lt;BR /&gt;&lt;BR /&gt; Are you tables actually sized to fit in the space you're allocating? You have adjusted the fonts and cell sizes as appropriate?&lt;BR /&gt;&lt;BR /&gt;Does the example above generate a single page for you?</description>
      <pubDate>Tue, 25 May 2021 18:20:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743657#M25024</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-25T18:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743666#M25025</link>
      <description>&lt;P&gt;The example you provided did in fact generate a single page for me...&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I'm not sure how to adjust my tables/fonts/cell sizes as appropriate.&lt;/P&gt;&lt;P&gt;Some of my tables are more than a rectangular shape, some are square (equal rows and columns), some only have two rows, some others have several rows.&lt;/P&gt;&lt;P&gt;But I want to be bale to fit them all in one page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how I can size each table?&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 18:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743666#M25025</guid>
      <dc:creator>paris_bloom</dc:creator>
      <dc:date>2021-05-25T18:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743671#M25026</link>
      <description>Not easily AFAIK. Ideally there would be a fit to page option or something like in Excel but that doesn't exist for PDF. Layouts are a painful process in any tool IME. &lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings10/011-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/011-2010.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2021 19:04:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743671#M25026</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-25T19:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743725#M25027</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the paper did not discuss the options within the ODS GRIDDED &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it talked about ODS Graphics and styles and setting page size to letter/legal.&lt;/P&gt;&lt;P&gt;I'm still very much confused what to do with ODS Gridded. sorry I'm not very advanced with ODS reports.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you help me a bit more?&lt;/P&gt;&lt;P&gt;Can you provide an example?&lt;/P&gt;&lt;P&gt;Thanks so much I really appreciate it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 23:24:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743725#M25027</guid>
      <dc:creator>paris_bloom</dc:creator>
      <dc:date>2021-05-25T23:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743891#M25029</link>
      <description>&lt;P&gt;If your requirement is to create just one page of output, you could ODS layout ABSOLUTE.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can then precisely define the coordinates and dimension of each region.&amp;nbsp; M&lt;SPAN style="font-family: inherit;"&gt;ake sure the data will fit in those regions.&amp;nbsp; You may need to use proc report instead of tabulate in order to have complete control of the line and column spacing&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 14:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743891#M25029</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2021-05-26T14:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743909#M25030</link>
      <description>I don't believe ODS GRIDDED does what you're expecting which is to scale your data down automatically. You have to manually set the font sizes (as illustrated in the paper) to force it into the space. BI tools like VA have that capability but AFAIK ODS PDF and ODS LAYOUT do not. I could be wrong so if you have a SAS license I'd check with Tech support.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2021 14:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743909#M25030</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-26T14:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743914#M25031</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;As I mentioned in my previous post&amp;nbsp;&lt;SPAN&gt;ODS LAYOUT ABSOLUTE&amp;nbsp; enables precise control for PDF output.&amp;nbsp; However, Proc tabulate is not ideal, IME Proc report would be better&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 15:09:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743914#M25031</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2021-05-26T15:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743923#M25032</link>
      <description>It does enable precise control, but you have to specify those 'controls'. I think OP is looking for an option that will scale their output to fit into the specified region which is entirely different than controlling where the output goes. It's about controlling the size of the tables into the region. PROC REPORT has more options for styling directly within the PROC and TABULATE is primarily controlled via templates, so I agree that PROC REPORT is a better solution. However, I don't think Absolute will accomplish what the OP is trying to achieve. They want to put 6 tables on a single page and specify a single option such as FIT TO PAGE that will scale it to the page, similar to ODS EXCEL. &lt;BR /&gt;&lt;BR /&gt;At least that's my understanding of the problem, I'll let the OP clarify what they're trying to accomplish. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2021 15:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743923#M25032</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-26T15:29:21Z</dc:date>
    </item>
  </channel>
</rss>

