<?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: Output excel file is not generating from stored procedure created using SAS EG in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-excel-file-is-not-generating-from-stored-procedure/m-p/399493#M19469</link>
    <description>&lt;P&gt;What you get is Excel-compatible XML. Saving that as a .xml file and opening with Excel should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do not name output created with tagsets.excelxp with a .xls extension, as you are not creating an Excel file, but XML text. It's just that the XML contains Excel-compatible data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also can't have both content-dispositions (see &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition&lt;/A&gt;). The second overrides the first and directs your browser to display the XML text inline, which it dutifully does. If you only have "attachment" (and use the CORRECT extension .xml!!), the browser will then prompt you for storing or opening the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, consider using another means of transfer to Excel, like proc export with the xlsx engine.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2017 13:55:59 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-09-28T13:55:59Z</dc:date>
    <item>
      <title>Output excel file is not generating from stored procedure created using SAS EG</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-excel-file-is-not-generating-from-stored-procedure/m-p/399482#M19468</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again i am hit with one strange error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a report using sas stored procedure to get the ouput in excel spreadsheet from running this stored procedure from web application. while i have used same code which i have used in previous reports and those are giving result absolutely fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below code:&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;&amp;nbsp;&lt;FONT face="Courier New" size="3"&gt;rc = stpsrv_header(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Content-disposition'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'attachment; filename=test.xls'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;); &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;FONT face="Courier New" size="3"&gt;rc = stpsrv_header(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Content-disposition'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"inline"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;); &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;OPTIONS&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;NOBYLINE&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;MISSING&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;' '&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/*ods tagsets.ExcelXP options(*/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; _ODSDEST=TAGSETS.EXCELXP options( &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;EMBED_TITLES_ONCE = 'YES'&lt;/P&gt;&lt;P&gt;EMBEDDED_TITLES='YES'&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/*EMBEDDED_FOOTNOTES='YES' */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sheet_name='Current Data'&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/*autofilter='ALL' */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/*frozen_headers='3' */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/*frozen_rowheaders='NO' */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ABSOLUTE_COLUMN_WIDTH='13,10,11,12,10,12,12,12,12,12,11,11,11,16,16,16,10,10,10,10,10,10,10'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/*ZOOM='80' */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/*WRAPTEXT='YES' */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;BLACKANDWHITE='YES'&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; _ODSSTYLE=seaside;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Then MACRO Code to run report.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;I am getting below error rather than getting output in excel file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT color="#0000ff"&gt;&lt;SPAN class="m"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pi"&gt;xml version="1.0" encoding="utf-8" &lt;/SPAN&gt;&lt;SPAN class="m"&gt;?&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class="e"&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;FONT color="#0000ff"&gt;&lt;SPAN class="m"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pi"&gt;mso-application progid="Excel.Sheet"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;?&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="k"&gt;&lt;SPAN&gt;&lt;A target="_blank"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;FONT color="#0000ff"&gt;&lt;SPAN class="m"&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/FONT&gt;&lt;PRE&gt;&lt;FONT color="#888888" size="2"&gt; Generated by the SAS Excelxp Tagset .v1.131, 04/23/2015 &lt;/FONT&gt;&lt;/PRE&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;--&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="e"&gt;&lt;DIV class="c"&gt;&lt;A href="http://plsaswb001.thrivent.com:7980/SASStoredProcess/do?_program=%2FBusinessProcessApplication%2FLifeMaster%2FTEST%2FStoredProcesses%2FLifeMaster_MEC_Report&amp;amp;_action=update%2Cnewwindow%2Cnobanner&amp;amp;_updatekey=414117107#" target="_blank"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Workbook&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="ns"&gt;&lt;FONT color="#ff0000"&gt; xmlns&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;="&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;urn:schemas-microsoft-com:office:spreadsheet&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="ns"&gt;&lt;FONT color="#ff0000"&gt; xmlns:x&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;="&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;urn:schemas-microsoft-com:office:excel&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="ns"&gt;&lt;FONT color="#ff0000"&gt; xmlns:ss&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;="&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;urn:schemas-microsoft-com:office:spreadsheet&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="ns"&gt;&lt;FONT color="#ff0000"&gt; xmlns:html&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;="&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;&lt;A href="http://www.w3.org/TR/REC-html40" target="_blank"&gt;http://www.w3.org/TR/REC-html40&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff"&gt;&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="e"&gt;&lt;DIV class="c"&gt;&lt;A href="http://plsaswb001.thrivent.com:7980/SASStoredProcess/do?_program=%2FBusinessProcessApplication%2FLifeMaster%2FTEST%2FStoredProcesses%2FLifeMaster_MEC_Report&amp;amp;_action=update%2Cnewwindow%2Cnobanner&amp;amp;_updatekey=414117107#" target="_blank"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;DocumentProperties&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="ns"&gt;&lt;FONT color="#ff0000"&gt; xmlns&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;="&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;urn:schemas-microsoft-com:office&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff"&gt;&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="e"&gt;&lt;DIV&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Author&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="tx"&gt;&lt;STRONG&gt;sassrv&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Author&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="e"&gt;&lt;DIV&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;LastAuthor&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="tx"&gt;&lt;STRONG&gt;sassrv&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;LastAuthor&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="e"&gt;&lt;DIV&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Created&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="tx"&gt;&lt;STRONG&gt;2017-09-28T08:16:45&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Created&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="e"&gt;&lt;DIV&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;LastSaved&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="tx"&gt;&lt;STRONG&gt;2017-09-28T08:16:45&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;LastSaved&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="e"&gt;&lt;DIV&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Company&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="tx"&gt;&lt;STRONG&gt;SAS Institute Inc. &lt;A href="http://www.sas.com" target="_blank"&gt;http://www.sas.com&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Company&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="e"&gt;&lt;DIV&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Version&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="tx"&gt;&lt;STRONG&gt;9.04.01M4P11092016&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Version&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="b"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;DocumentProperties&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="e"&gt;&lt;DIV class="c"&gt;&lt;A href="http://plsaswb001.thrivent.com:7980/SASStoredProcess/do?_program=%2FBusinessProcessApplication%2FLifeMaster%2FTEST%2FStoredProcesses%2FLifeMaster_MEC_Report&amp;amp;_action=update%2Cnewwindow%2Cnobanner&amp;amp;_updatekey=414117107#" target="_blank"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;FONT color="#990000"&gt;Styles&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="e"&gt;&lt;DIV class="c"&gt;&lt;A href="http://plsaswb001.thrivent.com:7980/SASStoredProcess/do?_program=%2FBusinessProcessApplication%2FLifeMaster%2FTEST%2FStoredProcesses%2FLifeMaster_MEC_Report&amp;amp;_action=update%2Cnewwindow%2Cnobanner&amp;amp;_updatekey=414117107#" target="_blank"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt; &lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;&amp;lt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#990000"&gt;&lt;SPAN class="t"&gt;Style&lt;/SPAN&gt;&lt;SPAN class="t"&gt; ss:ID&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class="m"&gt;&lt;FONT color="#0000ff"&gt;="&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;_body&lt;/STRONG&gt;&lt;FONT color="#0000ff"&gt;&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="c"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="c"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="c"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="c"&gt;&lt;FONT color="#0000ff"&gt;Can anyone suggest what should i do to get rid of this and get output in excel spreadsheet.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="c"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="c"&gt;&lt;FONT color="#0000ff"&gt;Thanks in advance !!&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:32:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-excel-file-is-not-generating-from-stored-procedure/m-p/399482#M19468</guid>
      <dc:creator>v9dduhan</dc:creator>
      <dc:date>2017-09-28T13:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Output excel file is not generating from stored procedure created using SAS EG</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-excel-file-is-not-generating-from-stored-procedure/m-p/399493#M19469</link>
      <description>&lt;P&gt;What you get is Excel-compatible XML. Saving that as a .xml file and opening with Excel should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do not name output created with tagsets.excelxp with a .xls extension, as you are not creating an Excel file, but XML text. It's just that the XML contains Excel-compatible data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also can't have both content-dispositions (see &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition&lt;/A&gt;). The second overrides the first and directs your browser to display the XML text inline, which it dutifully does. If you only have "attachment" (and use the CORRECT extension .xml!!), the browser will then prompt you for storing or opening the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, consider using another means of transfer to Excel, like proc export with the xlsx engine.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-excel-file-is-not-generating-from-stored-procedure/m-p/399493#M19469</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-28T13:55:59Z</dc:date>
    </item>
  </channel>
</rss>

