<?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: Use Proc Print to put multiple SAS outputs in one table in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Use-Proc-Print-to-put-multiple-SAS-outputs-in-one-table/m-p/388568#M19076</link>
    <description>&lt;P&gt;Genius! Exactly what I needed, thank you!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img id="heart" class="emoticon emoticon-heart" src="https://communities.sas.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;img id="heart" class="emoticon emoticon-heart" src="https://communities.sas.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;img id="heart" class="emoticon emoticon-heart" src="https://communities.sas.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 18:46:34 GMT</pubDate>
    <dc:creator>bzubrick</dc:creator>
    <dc:date>2017-08-16T18:46:34Z</dc:date>
    <item>
      <title>Use Proc Print to put multiple SAS outputs in one table</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Use-Proc-Print-to-put-multiple-SAS-outputs-in-one-table/m-p/388558#M19074</link>
      <description>&lt;P&gt;I use SAS to create 3 data sets. then I use PROC PRINT per the code below to create 3 excel files which show their data. Is there anyway to make a statement that puts all 3 data sets as diffferent tabs in the same excel file???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='D:\qsilver\SAS Data\BZ\3_Output\TotalOutput5k.xlsx' style=meadows;
Proc print data=work.histodata_Total noobs label;
run;
ods excel close;



ods excel file='D:\qsilver\SAS Data\BZ\3_Output\RefiOutput5k.xlsx' style=meadows;
Proc print data=work.histodata_refi noobs label;
run;
ods excel close;


ods excel file='D:\qsilver\SAS Data\BZ\3_Output\PurchaseOutput5k.xlsx' style=meadows;
Proc print data=work.histodata_purchase noobs label;
run;
ods excel close;



&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Aug 2017 18:24:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Use-Proc-Print-to-put-multiple-SAS-outputs-in-one-table/m-p/388558#M19074</guid>
      <dc:creator>bzubrick</dc:creator>
      <dc:date>2017-08-16T18:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use Proc Print to put multiple SAS outputs in one table</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Use-Proc-Print-to-put-multiple-SAS-outputs-in-one-table/m-p/388565#M19075</link>
      <description>&lt;P&gt;One way is via the XLSX engine:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname xlout XLSX 'D:\qsilver\SAS Data\BZ\3_Output\Output5k.xlsx';

data xlout.Total;
  set work.histodata_Total;
run;

data xlout.Refi;
  set work.histodata_Refi;
run;

data xlout.Purchase;
  set work.histodata_Purchase;
run;

libname xlout clear;&lt;/PRE&gt;
&lt;P&gt;See Chris' blog post for more details: &lt;A href="http://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_self"&gt;Using LIBNAME XLSX to read and write Excel files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 18:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Use-Proc-Print-to-put-multiple-SAS-outputs-in-one-table/m-p/388565#M19075</guid>
      <dc:creator>DaveHorne</dc:creator>
      <dc:date>2017-08-16T18:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use Proc Print to put multiple SAS outputs in one table</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Use-Proc-Print-to-put-multiple-SAS-outputs-in-one-table/m-p/388568#M19076</link>
      <description>&lt;P&gt;Genius! Exactly what I needed, thank you!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img id="heart" class="emoticon emoticon-heart" src="https://communities.sas.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;img id="heart" class="emoticon emoticon-heart" src="https://communities.sas.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;img id="heart" class="emoticon emoticon-heart" src="https://communities.sas.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 18:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Use-Proc-Print-to-put-multiple-SAS-outputs-in-one-table/m-p/388568#M19076</guid>
      <dc:creator>bzubrick</dc:creator>
      <dc:date>2017-08-16T18:46:34Z</dc:date>
    </item>
  </channel>
</rss>

