<?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: Stack 2 Tables with Proc Report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Stack-2-Tables-with-Proc-Report/m-p/528076#M144071</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/38234"&gt;@angeliquec&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I'd like to stack two of my tables in one sheet. Let's say I made a Proc report output for each table, but I'm unable to combine these two tables into 1 sheet, same as attached. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;data table1;&lt;BR /&gt;&amp;nbsp;input text :$20. column1 column2;&lt;BR /&gt;&amp;nbsp;cards;&lt;BR /&gt;table_1_counts 6 4&lt;BR /&gt;&amp;nbsp;;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;data table2;&lt;BR /&gt;&amp;nbsp;input text :$20. column1 column2;&lt;BR /&gt;&amp;nbsp;cards;&lt;BR /&gt;table_2_counts 6 4&lt;BR /&gt;&amp;nbsp;;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;proc report data=table1 out=t1 nowd; &lt;BR /&gt;column text column1 column2;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=table2 out=t2 nowd; &lt;BR /&gt;column text column1 column2;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One sheet of what?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't specify an output destination so we have to assume that the output is HTML which really does not have a concept of "sheet" or "page".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Almost certainly your ODS destination would have one or more options that would attempt to place the output on a single "sheet" if specified properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using ODS Excel or tagsets.excelxp the likely specifying options(sheet_interval='NONE') would have all of the output on a single sheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS RTF option STARTPAGE=NO would attempt to place all following output on the same page put may not if the tables plus spaces between&amp;nbsp;are too many rows.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 15:50:17 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-01-17T15:50:17Z</dc:date>
    <item>
      <title>Stack 2 Tables with Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stack-2-Tables-with-Proc-Report/m-p/527897#M144008</link>
      <description>&lt;P&gt;Hi, I'd like to stack two of my tables in one sheet. Let's say I made a Proc report output for each table, but I'm unable to combine these two tables into 1 sheet, same as attached. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;data table1;&lt;BR /&gt;&amp;nbsp;input text :$20. column1 column2;&lt;BR /&gt;&amp;nbsp;cards;&lt;BR /&gt;table_1_counts 6 4&lt;BR /&gt;&amp;nbsp;;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;data table2;&lt;BR /&gt;&amp;nbsp;input text :$20. column1 column2;&lt;BR /&gt;&amp;nbsp;cards;&lt;BR /&gt;table_2_counts 6 4&lt;BR /&gt;&amp;nbsp;;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;proc report data=table1 out=t1 nowd; &lt;BR /&gt;column text column1 column2;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=table2 out=t2 nowd; &lt;BR /&gt;column text column1 column2;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Jan 2019 01:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stack-2-Tables-with-Proc-Report/m-p/527897#M144008</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2019-01-17T01:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Stack 2 Tables with Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stack-2-Tables-with-Proc-Report/m-p/527899#M144009</link>
      <description>I would suggest combining your original data and use PROC REPORT with a BY statement or GROUP variable and customize the header for each group. &lt;BR /&gt;BY is probably easier.</description>
      <pubDate>Thu, 17 Jan 2019 01:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stack-2-Tables-with-Proc-Report/m-p/527899#M144009</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-17T01:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stack 2 Tables with Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stack-2-Tables-with-Proc-Report/m-p/528076#M144071</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/38234"&gt;@angeliquec&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I'd like to stack two of my tables in one sheet. Let's say I made a Proc report output for each table, but I'm unable to combine these two tables into 1 sheet, same as attached. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;data table1;&lt;BR /&gt;&amp;nbsp;input text :$20. column1 column2;&lt;BR /&gt;&amp;nbsp;cards;&lt;BR /&gt;table_1_counts 6 4&lt;BR /&gt;&amp;nbsp;;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;data table2;&lt;BR /&gt;&amp;nbsp;input text :$20. column1 column2;&lt;BR /&gt;&amp;nbsp;cards;&lt;BR /&gt;table_2_counts 6 4&lt;BR /&gt;&amp;nbsp;;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;proc report data=table1 out=t1 nowd; &lt;BR /&gt;column text column1 column2;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=table2 out=t2 nowd; &lt;BR /&gt;column text column1 column2;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One sheet of what?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't specify an output destination so we have to assume that the output is HTML which really does not have a concept of "sheet" or "page".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Almost certainly your ODS destination would have one or more options that would attempt to place the output on a single "sheet" if specified properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using ODS Excel or tagsets.excelxp the likely specifying options(sheet_interval='NONE') would have all of the output on a single sheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS RTF option STARTPAGE=NO would attempt to place all following output on the same page put may not if the tables plus spaces between&amp;nbsp;are too many rows.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stack-2-Tables-with-Proc-Report/m-p/528076#M144071</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-17T15:50:17Z</dc:date>
    </item>
  </channel>
</rss>

