<?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: Retrieve an .xlsx- filr from stored process in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Retrieve-an-xlsx-filr-from-stored-process/m-p/282101#M5032</link>
    <description>Hello Magnus, &lt;BR /&gt;&lt;BR /&gt;What result or error do you get? What SAS version do you run? &lt;BR /&gt;&lt;BR /&gt;Be mindful that if you are on version below 9.4 TS1M1, you won't have access to SpreadsheetML template that was introduced in that version. &lt;BR /&gt;&lt;BR /&gt;If you are on older version and you want excel file out, there are other ways of doing it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vasilij</description>
    <pubDate>Tue, 05 Jul 2016 08:40:04 GMT</pubDate>
    <dc:creator>VasilijNevlev</dc:creator>
    <dc:date>2016-07-05T08:40:04Z</dc:date>
    <item>
      <title>Retrieve an .xlsx- filr from stored process</title>
      <link>https://communities.sas.com/t5/Developers/Retrieve-an-xlsx-filr-from-stored-process/m-p/282097#M5031</link>
      <description>&lt;P&gt;I wonder if there´s a way to let the user recieve an Excel-file with .xlsx-format from the stored process. I've been trying to use the new ods excel with file=_webout but not succedded. Any tips would be appreciated. See below the code I've been trying:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;rc = stpsrv_header('Content-disposition','attachment; filename=Output.xlsx');&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;*ProcessBody;&lt;BR /&gt;&lt;BR /&gt;%STPBEGIN;&lt;BR /&gt;&lt;BR /&gt;* Slutet på EG-generad kod (redigera inte den här raden);&lt;BR /&gt;&lt;BR /&gt;ods excel file=_webout style=seaside options(sheet_name="Beståndslista" embedded_titles="on" embed_titles_once="on");&lt;BR /&gt;&lt;BR /&gt;title "Sashelp.class";&lt;BR /&gt;&lt;BR /&gt;proc print data=sashelp.class noobs label;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods excel close;&lt;BR /&gt;&lt;BR /&gt;* Början på EG-genererad kod (redigera inte den här raden);&lt;BR /&gt;;*';*";*/;quit;&lt;BR /&gt;%STPEND;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 07:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Retrieve-an-xlsx-filr-from-stored-process/m-p/282097#M5031</guid>
      <dc:creator>MagnusGustavsson</dc:creator>
      <dc:date>2016-07-05T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve an .xlsx- filr from stored process</title>
      <link>https://communities.sas.com/t5/Developers/Retrieve-an-xlsx-filr-from-stored-process/m-p/282101#M5032</link>
      <description>Hello Magnus, &lt;BR /&gt;&lt;BR /&gt;What result or error do you get? What SAS version do you run? &lt;BR /&gt;&lt;BR /&gt;Be mindful that if you are on version below 9.4 TS1M1, you won't have access to SpreadsheetML template that was introduced in that version. &lt;BR /&gt;&lt;BR /&gt;If you are on older version and you want excel file out, there are other ways of doing it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vasilij</description>
      <pubDate>Tue, 05 Jul 2016 08:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Retrieve-an-xlsx-filr-from-stored-process/m-p/282101#M5032</guid>
      <dc:creator>VasilijNevlev</dc:creator>
      <dc:date>2016-07-05T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Solution found in another posting</title>
      <link>https://communities.sas.com/t5/Developers/Retrieve-an-xlsx-filr-from-stored-process/m-p/282106#M5033</link>
      <description>&lt;P style="margin: 0in; margin-left: .375in; font-family: arial; font-size: 11.0pt;"&gt;I found a solution in the posting "ODS EXCEL in Web StoreProcess".&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: arial; font-size: 11.0pt;"&gt;It seems like I just have to remove the %STPBEGIN; and %STPEND; macro calls. I´m not sure why but it works now &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: arial; font-size: 11.0pt;"&gt;Thanks for your reply.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 09:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Retrieve-an-xlsx-filr-from-stored-process/m-p/282106#M5033</guid>
      <dc:creator>MagnusGustavsson</dc:creator>
      <dc:date>2016-07-05T09:02:56Z</dc:date>
    </item>
  </channel>
</rss>

