<?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 Excel APPEND in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273298#M54448</link>
    <description>I am running the SAS job through UNIX and have 9.2 version of SAS.&lt;BR /&gt;I am exporting the a large amount of data around 50,000 records and 400 colums (attributes) . Currently we have HTML method of exporting which works fine, but new requierment is to change it to ODS EXCEL.</description>
    <pubDate>Thu, 26 May 2016 15:37:31 GMT</pubDate>
    <dc:creator>SASAna</dc:creator>
    <dc:date>2016-05-26T15:37:31Z</dc:date>
    <item>
      <title>ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273143#M54408</link>
      <description>&lt;P&gt;&lt;EM&gt;As ODS Excel has limitation of 1200 records per sheet, i wanted to try option of appending the dataset/proc report &amp;nbsp;in the same sheet.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Currently it is writing it in second tab of Excel. IS there a way to append?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Requirment is to get the ODS EXCEL o/p only.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 21:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273143#M54408</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2016-05-25T21:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273145#M54410</link>
      <description>&lt;P&gt;libname xl Excel "&amp;amp;SASForum.\Datasets\Append.xls";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* Create the Append.xls workbook with a sheet named myData$ and a named range&lt;BR /&gt;called myData */&lt;BR /&gt;data xl.myData;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro append;&lt;BR /&gt;%do i = 2 %to 5;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data have&amp;amp;i;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = &amp;amp;i;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sql;&lt;BR /&gt;&amp;nbsp; /* Save the contents of the Excel table */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table have as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from xl.myData;&lt;BR /&gt;&amp;nbsp; /* Erase the contents of the table in the workbook, Excel doesn't allow you&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to overwrite an existing table */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop table xl.myData;&lt;BR /&gt;&amp;nbsp; /* Recreate the table with your added lines. It will replace the old version&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at the same place, with the same cell formatting */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table xl.myData as&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from have&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; union all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from have&amp;amp;i;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;BR /&gt;%mend append;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;%append;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;libname xl clear;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 21:12:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273145#M54410</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-05-25T21:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273154#M54413</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/86567"&gt;@SASAna&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;As ODS Excel has limitation of 1200 records per sheet, i wanted to try option of appending the dataset/proc report &amp;nbsp;in the same sheet.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can you reference that limitiation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just exported 4000K records?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you talking about columns/variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS EXCEL does support multisheet so you can print to multiple sheets if necessary.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what version of SAS do you have, including release (ie TS1M2).&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 22:00:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273154#M54413</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-25T22:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273211#M54422</link>
      <description>&lt;P&gt;Excel currently has a limitation of 1048576 rows as of Excel 2013. &amp;nbsp;Please clarify your question.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 08:36:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273211#M54422</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-05-26T08:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273262#M54431</link>
      <description>o/p has 400 columns and job is failing due to insufficient memory error due to ODS excel limitation of 1200 rows only. Testing o/p has 35,000 records.</description>
      <pubDate>Thu, 26 May 2016 13:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273262#M54431</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2016-05-26T13:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273263#M54432</link>
      <description>&lt;P&gt;How are you running this, is it through SAS9.x, Enterprise Guide, University Edition etc.? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does "o/p" mean?&lt;/P&gt;
&lt;P&gt;Post the full log surrouding the issue.&lt;/P&gt;
&lt;P&gt;Post the code used which generates the error.&lt;/P&gt;
&lt;P&gt;Why do you have 400 columns, even 40 is a large amount.&lt;/P&gt;
&lt;P&gt;None of what is posted there should be a limitation from Excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 13:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273263#M54432</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-05-26T13:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273298#M54448</link>
      <description>I am running the SAS job through UNIX and have 9.2 version of SAS.&lt;BR /&gt;I am exporting the a large amount of data around 50,000 records and 400 colums (attributes) . Currently we have HTML method of exporting which works fine, but new requierment is to change it to ODS EXCEL.</description>
      <pubDate>Thu, 26 May 2016 15:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273298#M54448</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2016-05-26T15:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273301#M54449</link>
      <description>&lt;P&gt;ODS Excel is only available in SAS 9.4+, not SAS 9.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS 9.2 has support for ODS tagsets.excelxp but this destination does not support graphics or appending to a file. Additionally, similar to ODS HTML it does not generate a native excel file, but an XML file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple PROC PRINT wll work using excelxp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.excelxp file="my_sample_file.xml";

proc print data=have;
run;

ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 May 2016 15:42:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273301#M54449</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-26T15:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273306#M54452</link>
      <description>&lt;P&gt;I don't know why you have a requirement of ODS EXCEL, is the actual requirement to generate a native excel file? Are you formatting your output in some manner that requires ODS EXCEL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option is this:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export" target="_blank"&gt;http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 15:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-APPEND/m-p/273306#M54452</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-26T15:47:21Z</dc:date>
    </item>
  </channel>
</rss>

