<?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: proc report with across variable columns too wide for page, wrapping on same page in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-with-across-variable-columns-too-wide-for-page/m-p/822804#M25873</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data TEST;
 CATEGORY = "CATEGORY";
 SUBCATEGORY = "SUBCATEGORY";
 RESULT = "XXXXXXXXXXXXXXXXXXXXXXX";
 
 do i=1 to 10;
  GROUP=i;
  output;
 end;
run;


ods _all_ close;
ods tagsets.rtf_sample file="c:\temp\TEST.rtf";
options nonumber nodate PAGENO=1 orientation=landscape papersize="ISO A4" 
 topmargin="0.5 in" bottommargin="0.5 in" rightmargin="0.5 in" leftmargin="0.5 in";
 
Title1 j=l "Title";
Footnote1 j=l "Footnote";

proc report data=TEST   missing split="|"  nowd spanrows style={outputwidth=100%};
 column CATEGORY SUBCATEGORY GROUP, RESULT;
define _all_/style={cellwidth=1%}; 
 define CATEGORY / group order=data id;
 define SUBCATEGORY / group id;
 define GROUP / group across "";
 define RESULT / group "Result";
 
 break after CATEGORY / page;
run;

ods tagsets.rtf_sample close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1657626993435.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73206i88954C4A4D648774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1657626993435.png" alt="Ksharp_0-1657626993435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 11:56:37 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-07-12T11:56:37Z</dc:date>
    <item>
      <title>proc report with across variable columns too wide for page, wrapping on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-with-across-variable-columns-too-wide-for-page/m-p/822734#M25872</link>
      <description>&lt;P&gt;When I am using the ACROSS option which results in too many columns to fit across the page, the second set of columns are showing on the same page, rather than starting on a new page.&amp;nbsp; How can I force the overflow columns onto a new page?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of my current program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data TEST;
	CATEGORY = "CATEGORY";
	SUBCATEGORY = "SUBCATEGORY";
	RESULT = "XXXXXXXXXXXXXXXXXXXXXXX";
	
	do i=1 to 10;
		GROUP=i;
		output;
	end;
run;

ods _all_ close;
ods tagsets.rtf_sample file="&amp;amp;basepath./&amp;amp;subfile./TEST.rtf";
options nonumber nodate PAGENO=1 orientation=landscape papersize="ISO A4" 
	topmargin="0.5 in" bottommargin="0.5 in" rightmargin="0.5 in" leftmargin="0.5 in";
	
Title1 j=l "Title";
Footnote1 j=l "Footnote";

proc report data=TEST headline headskip missing split="|" nocenter nowd spanrows;
	column CATEGORY SUBCATEGORY GROUP, RESULT;
	
	define CATEGORY / group order=data id;
	define SUBCATEGORY / group id;
	define GROUP / group across "";
	define RESULT / group "Result";
	
	break after CATEGORY / page;
run;

ods tagsets.rtf_sample close;
ods listing;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2022 02:17:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-with-across-variable-columns-too-wide-for-page/m-p/822734#M25872</guid>
      <dc:creator>ey_accelagen</dc:creator>
      <dc:date>2022-07-12T02:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc report with across variable columns too wide for page, wrapping on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-with-across-variable-columns-too-wide-for-page/m-p/822804#M25873</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data TEST;
 CATEGORY = "CATEGORY";
 SUBCATEGORY = "SUBCATEGORY";
 RESULT = "XXXXXXXXXXXXXXXXXXXXXXX";
 
 do i=1 to 10;
  GROUP=i;
  output;
 end;
run;


ods _all_ close;
ods tagsets.rtf_sample file="c:\temp\TEST.rtf";
options nonumber nodate PAGENO=1 orientation=landscape papersize="ISO A4" 
 topmargin="0.5 in" bottommargin="0.5 in" rightmargin="0.5 in" leftmargin="0.5 in";
 
Title1 j=l "Title";
Footnote1 j=l "Footnote";

proc report data=TEST   missing split="|"  nowd spanrows style={outputwidth=100%};
 column CATEGORY SUBCATEGORY GROUP, RESULT;
define _all_/style={cellwidth=1%}; 
 define CATEGORY / group order=data id;
 define SUBCATEGORY / group id;
 define GROUP / group across "";
 define RESULT / group "Result";
 
 break after CATEGORY / page;
run;

ods tagsets.rtf_sample close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1657626993435.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73206i88954C4A4D648774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1657626993435.png" alt="Ksharp_0-1657626993435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 11:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-with-across-variable-columns-too-wide-for-page/m-p/822804#M25873</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-07-12T11:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc report with across variable columns too wide for page, wrapping on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-with-across-variable-columns-too-wide-for-page/m-p/823257#M25874</link>
      <description>&lt;P&gt;Thanks for your reply.&amp;nbsp; This workaround of avoiding the page overflow, would be appropriate for some scenarios, however there are many scenarios where that is not practical.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 06:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-with-across-variable-columns-too-wide-for-page/m-p/823257#M25874</guid>
      <dc:creator>ey_accelagen</dc:creator>
      <dc:date>2022-07-14T06:45:39Z</dc:date>
    </item>
  </channel>
</rss>

