<?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: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3 in Developers</title>
    <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390679#M5487</link>
    <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;You're welcome! &amp;nbsp;I was just about to reply stating that your code worked for me using the SASHELP.CLASS table in both instances of PROC REPORT. &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Was it due to bad data?&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, 24 Aug 2017 16:18:52 GMT</pubDate>
    <dc:creator>Vince_SAS</dc:creator>
    <dc:date>2017-08-24T16:18:52Z</dc:date>
    <item>
      <title>EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/389848#M5479</link>
      <description>&lt;P&gt;I've got the code to work the way that I want in EG.&amp;nbsp; When I create a stored process, it opens it in a &lt;STRONG&gt;report form&lt;/STRONG&gt; and &lt;U&gt;not Excel&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need: I need an ODS Excel file=example.xlsx to open in Excel when I run the web application stored process.&amp;nbsp; I have code to do it with a tagset.excelXP, but would like to use ODS Excel - if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;excel&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'example.xlsx'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet_interval&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'none'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet_name&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'M1 &amp;gt; M2'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;embedded_titles&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'yes'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;embedded_footnotes&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'yes'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tab_color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'purple'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;start_at&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'2,4'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;frozen_headers&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'yes'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;autofilter&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'1-5'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'Shop Throughput Greater in Month 1 versus Month 2'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;footnote&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'Only displays where throughput units were greater in month 1 versus month 2.'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work.descriptions&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(header) = {font_face=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Arial"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; font_size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;13&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt bordercolor=black background=orange foreground=white}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(column) = {background=white font_face=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Arial"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; font_size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(summary) = {htmlstyle=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"border-top:3px solid;border-bottom:3px solid"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;excel&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet_interval&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'output'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;exclude&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;all&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;_null_&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;declare&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; odsout obj();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;all&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;excel&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet_interval&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'none'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet_name&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'M2 &amp;gt; M1'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tab_color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'orange'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; );&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'Shop Throughput Greater in Month2 versus Month1'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;footnote&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'Only displays where throughput units were greater in Month2 than month1 .'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work.description2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(header) = {font_face=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Arial"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; font_size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;13&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt bordercolor=black background=orange foreground=white}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(column) = {background=white font_face=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Arial"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; font_size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(summary) = {htmlstyle=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"border-top:3px solid;border-bottom:3px solid"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;excel&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 15:15:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/389848#M5479</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2017-08-22T15:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390568#M5480</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Try this code to see if it gives you what you want:&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="example.xlsx"');
run;

ods Excel file=_webout;
  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;Do not use the STPBEGIN/STPEND macros; only use the code above.&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, 24 Aug 2017 11:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390568#M5480</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2017-08-24T11:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390592#M5481</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13635"&gt;@Vince_SAS&lt;/a&gt;.&amp;nbsp; Do you expect %STPBEGIN to be extended to handle ODS EXCEL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a quick hack, I updated a local version so that it would not add the path option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%*;
%*  Set the PATH option for streaming if
%*  not already set by caller.
%*;

%if (%qupcase(%qsubstr(%qcmpres(&amp;amp;_RESULT),1,6)) eq STREAM) and
    (&amp;amp;PATHFLAG eq 0) and
    (%qupcase(%qcmpres(&amp;amp;FILETYPE)) ne PS) and
    (%qupcase(%qcmpres(&amp;amp;FILETYPE)) ne PDF)
    and (%qupcase(%qcmpres(&amp;amp;_ODSDEST)) ne EXCEL) /*I added this line*/
%then %do;

  %if (%qcmpres(&amp;amp;_TMPCAT) eq )
    %then %let ODSOPT=&amp;amp;ODSOPT path=WORK._TEMP_;
    %else %let ODSOPT=&amp;amp;ODSOPT path=&amp;amp;_TMPCAT;

  %if (&amp;amp;REPLAYFLAG EQ 1)
    %then %let ODSOPT=&amp;amp;ODSOPT (url=&amp;amp;_REPLAY);
    %else %let ODSOPT=&amp;amp;ODSOPT (url=NONE);

  %if (&amp;amp;CHARSETFLAG eq 0)
    %then %let ODSOPT=&amp;amp;ODSOPT CHARSET=' ';
%end;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That seems to get it working for my limited use case.&amp;nbsp; But I'd imagine for all the stuff that %STPBEGIN does, there would need to be plenty more updates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't really like the idea of me mucking around with the definitions of macros provided by SAS.&amp;nbsp; Would be great to see %STPBEGIN() extended to support the newer ODS destinations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Q.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:08:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390592#M5481</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2017-08-24T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390626#M5482</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Support for the Excel and PowerPoint destinations has been added to the STPBEGIN and STPEND macros, and will be available starting with the upcoming fifth maintenance&amp;nbsp;release for SAS 9.4.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&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, 24 Aug 2017 14:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390626#M5482</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2017-08-24T14:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390630#M5483</link>
      <description>&lt;P&gt;No, it doesn't work.&amp;nbsp; It displays a bunch of jibberish on the output screen - not in Excel.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:41:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390630#M5483</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2017-08-24T14:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390634#M5484</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Are you sure that the STPBEGIN/STPEND macros are not used? &amp;nbsp;SAS Enterprise Guide sometimes includes them on your behalf.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;The gibberish that you see is the binary Excel XLSX file being displayed as text, because the browser didn't receive the Content-type header. &amp;nbsp;This can happen if STPBEGIN writes to _WEBOUT (or more accurately, ODS) before the DATA step writes the header, or if there is a syntax error in the DATA step that prevents the header being sent to the browser.&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, 24 Aug 2017 14:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390634#M5484</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2017-08-24T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390649#M5485</link>
      <description>&lt;P&gt;Yes, turning off the auto %stpbegin/%stpend during the stp generation did make your code work.&amp;nbsp; However, when I merge with my code - I get the file is corrupted.&amp;nbsp; Can I still assign the options to the _webout line?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 15:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390649#M5485</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2017-08-24T15:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390676#M5486</link>
      <description>&lt;P&gt;Figured out what I did wrong!&amp;nbsp; Thank you so much.&amp;nbsp; It is working beautifully now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 16:15:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390676#M5486</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2017-08-24T16:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390679#M5487</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;You're welcome! &amp;nbsp;I was just about to reply stating that your code worked for me using the SASHELP.CLASS table in both instances of PROC REPORT. &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Was it due to bad data?&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, 24 Aug 2017 16:18:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390679#M5487</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2017-08-24T16:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390684#M5488</link>
      <description>&lt;P&gt;Appeared to be a syntex error that it wasn't giving me an error message - just a corrupt file message. I had deleted the style(summary) = line and forgot to add the semicolon at the end of the style(column)&amp;nbsp;line.&amp;nbsp; The real code&amp;nbsp;has extensive formatting.&amp;nbsp; I&amp;nbsp;tried to only display a limited snippet here.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 16:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390684#M5488</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2017-08-24T16:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: EG- ODS Excel made into a Stored Process to export to Excel 9.4 M3</title>
      <link>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390719#M5489</link>
      <description>Glad to hear that 9.4M5 versions of STPBEGIN and STPEND will support the new destinations!  Will add a check in my hacked version to have it self-destruct when run on M5 or later.  We're finally upgrading our server to M4 next week.  Hopefully we won't be too far behind the curve after M5 comes out.</description>
      <pubDate>Thu, 24 Aug 2017 18:25:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/EG-ODS-Excel-made-into-a-Stored-Process-to-export-to-Excel-9-4/m-p/390719#M5489</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2017-08-24T18:25:34Z</dc:date>
    </item>
  </channel>
</rss>

