<?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 SAS data to excel in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-to-excel/m-p/359226#M23642</link>
    <description>&lt;P&gt;Dear SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been encountering a problem in exporting an excel dataset from SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset that is needed to be exported monthly. &amp;nbsp;As time goes by, the number of rows in that dataset grows.&lt;/P&gt;&lt;P&gt;The size of the dataset is usually less than 4,000 KB with around 30,000 rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes, the dataset can be exported fine in a xlsb format with all the rows that I want. But some other months (maybe by the end of the year when the number of rows grows), it is exported only a few rows of the complete dataset. &amp;nbsp;However, it doesn't give me any error message. My current solution to this is open the SAS dataset in SAS and export it as a xlsb format manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts about fixing this problem or what causes this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following code to export the dataset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC EXPORT DATA=&amp;nbsp;myDataset&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;OUTFILE="&amp;amp;mypath._&amp;amp;Report_Year.&amp;amp;Report_Month..xlsb"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DBMS=EXCEL2007 REPLACE;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SHEET="DATA";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data _null_; x = sleep(30); run; &lt;/STRONG&gt;/*I was hoping putting a Pause may help to resolve the issue */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time and your help!&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 23:14:36 GMT</pubDate>
    <dc:creator>sharedobe</dc:creator>
    <dc:date>2017-05-16T23:14:36Z</dc:date>
    <item>
      <title>SAS data to excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-to-excel/m-p/359226#M23642</link>
      <description>&lt;P&gt;Dear SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been encountering a problem in exporting an excel dataset from SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset that is needed to be exported monthly. &amp;nbsp;As time goes by, the number of rows in that dataset grows.&lt;/P&gt;&lt;P&gt;The size of the dataset is usually less than 4,000 KB with around 30,000 rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes, the dataset can be exported fine in a xlsb format with all the rows that I want. But some other months (maybe by the end of the year when the number of rows grows), it is exported only a few rows of the complete dataset. &amp;nbsp;However, it doesn't give me any error message. My current solution to this is open the SAS dataset in SAS and export it as a xlsb format manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts about fixing this problem or what causes this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following code to export the dataset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC EXPORT DATA=&amp;nbsp;myDataset&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;OUTFILE="&amp;amp;mypath._&amp;amp;Report_Year.&amp;amp;Report_Month..xlsb"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DBMS=EXCEL2007 REPLACE;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SHEET="DATA";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data _null_; x = sleep(30); run; &lt;/STRONG&gt;/*I was hoping putting a Pause may help to resolve the issue */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time and your help!&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 23:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-to-excel/m-p/359226#M23642</guid>
      <dc:creator>sharedobe</dc:creator>
      <dc:date>2017-05-16T23:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS data to excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-to-excel/m-p/359234#M23643</link>
      <description>&lt;P&gt;Pause should have no effect on a PROC EXPORT. Try using DBMS=XLSX instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excel2007 is old and I believe had the 65k limit. I think 2010 64 bit is a million rows. 30k shouldn't cause issues though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 23:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-to-excel/m-p/359234#M23643</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-16T23:50:42Z</dc:date>
    </item>
  </channel>
</rss>

