<?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: Stored process report in Excel format in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403668#M5553</link>
    <description>&lt;P&gt;Thanks you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13635"&gt;@Vince_SAS&lt;/a&gt;.&amp;nbsp;It's working&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2017 19:46:25 GMT</pubDate>
    <dc:creator>vkrishna</dc:creator>
    <dc:date>2017-10-12T19:46:25Z</dc:date>
    <item>
      <title>Stored process report in Excel format</title>
      <link>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403360#M5549</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;viewing the Stored process&amp;nbsp;reports from Stored process Web application.&lt;/P&gt;&lt;P&gt;I tried the following code it's working fine for PDF, HTML and RTF fromats.&lt;/P&gt;&lt;P&gt;How Can I get Excel format report?&lt;/P&gt;&lt;P&gt;any suggestions..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Pre]&amp;nbsp;%if %upcase(&amp;amp;_odsdest)=PDF %then %do;&lt;BR /&gt;%let _odsstyle=printer;&lt;BR /&gt;%let _odsstylesheet=;&lt;BR /&gt;%let _odsoptions=bookmarkgen=no compress=9&lt;BR /&gt;startpage=no;&lt;BR /&gt;%end;&lt;BR /&gt;%else %if %upcase(&amp;amp;_odsdest)=RTF %then %do;&lt;BR /&gt;%let _odsstyle=rtf;&lt;BR /&gt;%let _odsstylesheet=;&lt;BR /&gt;%let _odsoptions=bodytitle startpage=no&lt;BR /&gt;nokeepn notoc_data;&lt;BR /&gt;%end;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 20:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403360#M5549</guid>
      <dc:creator>vkrishna</dc:creator>
      <dc:date>2017-10-11T20:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process report in Excel format</title>
      <link>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403514#M5550</link>
      <description>&lt;P&gt;Just to clarify, are you interested in creating a stored process, or a stored process report?&amp;nbsp; They are two different things and the approach depends on which format that you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what version of SAS are you running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vince DelGobbo&lt;/P&gt;
&lt;P&gt;SAS R&amp;amp;D&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 12:05:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403514#M5550</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2017-10-12T12:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process report in Excel format</title>
      <link>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403605#M5551</link>
      <description>&lt;P&gt;&amp;gt;are you interested in creating a stored process, or a stored process report?&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm creating Stored Process in Enterprise guide.. My requirement - I want the result in Excel format when I run it from Stored Process Web application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;what version of SAS are you running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS 9.4 M3&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 16:00:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403605#M5551</guid>
      <dc:creator>vkrishna</dc:creator>
      <dc:date>2017-10-12T16:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process report in Excel format</title>
      <link>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403657#M5552</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;You can use this code to create an XLSX file using SAS 9.4M3 and later:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close; 

data _null_;
rc = appsrv_header('Content-type', 'application/vnd.ms-excel');
rc = appsrv_header('Content-disposition','attachment; filename="Class.xlsx"');
run;

ods Excel file=_webout style=HTMLBlue; 
  proc print data=sashelp.class; run; quit; 
ods Excel close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;The older ExcelXP tagset works, too:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close; 

data _null_;
rc = appsrv_header('Content-type', 'application/vnd.ms-excel');
rc = appsrv_header('Content-disposition','attachment; filename="Class.xml"');
run;

ods tagsets.ExcelXP file=_webout style=HTMLBlue; 
  proc print data=sashelp.class; run; quit; 
ods tagsets.ExcelXP close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Be sure to deselect &lt;STRONG&gt;Include code for Stored process macros&lt;/STRONG&gt; in Step 2 of the SAS Enterprise Guide wizard, and select &lt;STRONG&gt;Stream&lt;/STRONG&gt; in Step 3.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 19:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403657#M5552</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2017-10-12T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process report in Excel format</title>
      <link>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403668#M5553</link>
      <description>&lt;P&gt;Thanks you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13635"&gt;@Vince_SAS&lt;/a&gt;.&amp;nbsp;It's working&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 19:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-process-report-in-Excel-format/m-p/403668#M5553</guid>
      <dc:creator>vkrishna</dc:creator>
      <dc:date>2017-10-12T19:46:25Z</dc:date>
    </item>
  </channel>
</rss>

