<?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 Export 2 million records to Excel File !! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784749#M250419</link>
    <description>&lt;P&gt;I need SAS code to successfully export 2 million records (2 million rows X 12 columns )&amp;nbsp; in Excel file&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 20:24:14 GMT</pubDate>
    <dc:creator>Rhino84</dc:creator>
    <dc:date>2021-12-07T20:24:14Z</dc:date>
    <item>
      <title>Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784749#M250419</link>
      <description>&lt;P&gt;I need SAS code to successfully export 2 million records (2 million rows X 12 columns )&amp;nbsp; in Excel file&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784749#M250419</guid>
      <dc:creator>Rhino84</dc:creator>
      <dc:date>2021-12-07T20:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784751#M250420</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reeza_0-1638909045298.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66471iDA83E1AE19B519BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reeza_0-1638909045298.png" alt="Reeza_0-1638909045298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3" target="_blank"&gt;https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391324"&gt;@Rhino84&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I need SAS code to successfully export 2 million records (2 million rows X 12 columns )&amp;nbsp; in Excel file&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784751#M250420</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-07T20:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784752#M250421</link>
      <description>I can use CSV though ?</description>
      <pubDate>Tue, 07 Dec 2021 20:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784752#M250421</guid>
      <dc:creator>Rhino84</dc:creator>
      <dc:date>2021-12-07T20:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784753#M250422</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391324"&gt;@Rhino84&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I can use CSV though ?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How will you use the CSV?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784753#M250422</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-07T20:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784754#M250423</link>
      <description>CSV is not Excel, it's a text file. Are you updating your question to ask how to export your data to a CSV file?&lt;BR /&gt;&lt;BR /&gt;If so, see the tutorial here:&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-do-i-write-out-a-file-that-uses-commas-tabs-or-spaces-as-delimiters-to-separate-variables-in-sas/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-do-i-write-out-a-file-that-uses-commas-tabs-or-spaces-as-delimiters-to-separate-variables-in-sas/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Excel will not be able to load a file of 2 million rows from a CSV.</description>
      <pubDate>Tue, 07 Dec 2021 20:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784754#M250423</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-07T20:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784755#M250424</link>
      <description>&lt;P&gt;As Reeza points out, Excel can hold only about 1 million rows per sheet. You&amp;nbsp;&lt;STRONG&gt;could&lt;/STRONG&gt; export with multiple passes into multiple sheets. Something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;filename out "c:\project\bigexcel.xlsx";
proc export data=bigfile(obs=1000000)
  dbms=xlsx
  outfile=out replace;
  sheet="First million";
run;
proc export data=bigfile(fistobs=1000001)
  dbms=xlsx
  outfile=out replace;
  sheet="Second million";
run;&lt;/LI-CODE&gt;
&lt;P&gt;But...this is probably a terrible use for Excel and data storage. But sometimes that's what our clients ask for...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784755#M250424</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-12-07T20:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784756#M250425</link>
      <description>&lt;P&gt;Yes, you can use PROC EXPORT to create a CSV file. You just won't be able to open it in Excel.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784756#M250425</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-12-07T20:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784757#M250426</link>
      <description>What i meanst was, i ould export my file from SAS to a csv spreadsheet too</description>
      <pubDate>Tue, 07 Dec 2021 20:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784757#M250426</guid>
      <dc:creator>Rhino84</dc:creator>
      <dc:date>2021-12-07T20:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Export 2 million records to Excel File !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784758#M250427</link>
      <description>CSV is not a spreadsheet. It's a comma separate text file, that Excel happens to be able to read and interpret and is typically the default viewer. But you don't have formats, cells, borders or multiple sheets. Just raw data.</description>
      <pubDate>Tue, 07 Dec 2021 20:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-2-million-records-to-Excel-File/m-p/784758#M250427</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-07T20:53:37Z</dc:date>
    </item>
  </channel>
</rss>

