<?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: SAS Stored process download a large file as excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754576#M25114</link>
    <description>&lt;P&gt;I am able to export using PROC EXPORT and save to SAS server. How can we download this file to local machine if we don't use ODS, any alternative ?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 12:28:08 GMT</pubDate>
    <dc:creator>PRAVIN_JAIN</dc:creator>
    <dc:date>2021-07-16T12:28:08Z</dc:date>
    <item>
      <title>SAS Stored process download a large file as excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754570#M25112</link>
      <description>&lt;P&gt;We have a stored process which gives excel report to users. This get stuck when we try to download a large dataset having around 500 K observations due to insufficient memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below code, is there a way we can download such a large file using ODS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');&lt;BR /&gt;rc = stpsrv_header('Content-disposition',"attachment; filename=test.xlsx");&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods excel file = _webout style=Plateau;&lt;BR /&gt;libname in_lib '/data/users/report/';&lt;/P&gt;&lt;P&gt;proc print data=in_lib.trans_detail;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754570#M25112</guid>
      <dc:creator>PRAVIN_JAIN</dc:creator>
      <dc:date>2021-07-16T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Stored process download a large file as excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754572#M25113</link>
      <description>&lt;P&gt;This is likely and ODS EXCEL issue, not an issue with the downloading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of SAS are you on? I'd review this thread:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/ODS-EXCEL-out-of-memory-error-with-dataset-containing-25-rows/td-p/617960" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/ODS-EXCEL-out-of-memory-error-with-dataset-containing-25-rows/td-p/617960&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS excel is great for fancy formatting, but if you're not doing anything fancy, you might be better off with PROC EXPORT or other approaches that don't have the same memory footprint.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754572#M25113</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2021-07-16T12:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Stored process download a large file as excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754576#M25114</link>
      <description>&lt;P&gt;I am able to export using PROC EXPORT and save to SAS server. How can we download this file to local machine if we don't use ODS, any alternative ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754576#M25114</guid>
      <dc:creator>PRAVIN_JAIN</dc:creator>
      <dc:date>2021-07-16T12:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Stored process download a large file as excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754578#M25115</link>
      <description>&lt;P&gt;Please see my answer to this similar question, which has an example of streaming the file using data _null_ step.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Stored-Processes/webout-with-Proc-Export/td-p/393351" target="_blank"&gt;https://communities.sas.com/t5/SAS-Stored-Processes/webout-with-Proc-Export/td-p/393351&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:34:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754578#M25115</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2021-07-16T12:34:33Z</dc:date>
    </item>
  </channel>
</rss>

