<?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 SPWA tagsets.ExcelXP not opening in Excel in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146403#M4097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple STP, code below, invoked from the SPWA which is writing tagsets.ExcelXP output.&amp;nbsp; I've tried different combos of the filename suffix, setting the MIME via stpsrv and appsrv, specifying "file=_webout", nothing works.&amp;nbsp; The output only displays in a new browser window ( the XML is 100% correct, I can copy / save and open successfully with Excel 2010 ).&amp;nbsp; Searching ODS and STP communities, been beating my head against the wall toooooo long, any insight will be most appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The browser is IE v7 ( I know, corp standard!! ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let _odsdest = tagsets.excelXP;&lt;/P&gt;&lt;P&gt;%let _odsoptions =;&lt;/P&gt;&lt;P&gt;%let _odsstyle = sasweb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let dto = %sysfunc(putn("&amp;amp;dt"d,yymmddd10.));&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%let rv = %sysfunc( stpsrv_header('Content-type','application/vnd.ms-excel') );&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%let rv = %sysfunc( stpsrv_header('Content-disposition',"attachment; filename=mor_missing_system_userids_&amp;amp;dto..xml"));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%STPBEGIN;&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;nbsp; End EG generated code (do not edit this line);&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp&lt;/P&gt;&lt;P&gt;&amp;nbsp; options ( sheet_name = 'Overall' absolute_column_width='30,10' zoom='80');&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods noresults;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data = system_nm noobs label;&lt;/P&gt;&lt;P&gt;&amp;nbsp; label system_nm = 'System NM'&lt;/P&gt;&lt;P&gt;&amp;nbsp; cnt = 'Count';&lt;/P&gt;&lt;P&gt;&amp;nbsp; format cnt comma12.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp style=statistical&lt;/P&gt;&lt;P&gt;&amp;nbsp; options ( sheet_name = 'none'&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_label = ' '&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_interval = 'Bygroup'&lt;/P&gt;&lt;P&gt;&amp;nbsp; absolute_column_width = '10,10,15,25,25,30,7'&lt;/P&gt;&lt;P&gt;&amp;nbsp; embedded_titles = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; autofilter = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; zoom = '80'&lt;/P&gt;&lt;P&gt;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data = warning_defaulted_srf_d nowindows ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by system_nm;&lt;/P&gt;&lt;P&gt;&amp;nbsp; columns employee_project_nm employee_pillar_nm employee_department_nm reporting_entity_nm&lt;/P&gt;&lt;P&gt;&amp;nbsp; event_userid comment cnt;&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;ods results;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2014 19:03:00 GMT</pubDate>
    <dc:creator>droog</dc:creator>
    <dc:date>2014-03-17T19:03:00Z</dc:date>
    <item>
      <title>SPWA tagsets.ExcelXP not opening in Excel</title>
      <link>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146403#M4097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple STP, code below, invoked from the SPWA which is writing tagsets.ExcelXP output.&amp;nbsp; I've tried different combos of the filename suffix, setting the MIME via stpsrv and appsrv, specifying "file=_webout", nothing works.&amp;nbsp; The output only displays in a new browser window ( the XML is 100% correct, I can copy / save and open successfully with Excel 2010 ).&amp;nbsp; Searching ODS and STP communities, been beating my head against the wall toooooo long, any insight will be most appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The browser is IE v7 ( I know, corp standard!! ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let _odsdest = tagsets.excelXP;&lt;/P&gt;&lt;P&gt;%let _odsoptions =;&lt;/P&gt;&lt;P&gt;%let _odsstyle = sasweb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let dto = %sysfunc(putn("&amp;amp;dt"d,yymmddd10.));&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%let rv = %sysfunc( stpsrv_header('Content-type','application/vnd.ms-excel') );&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%let rv = %sysfunc( stpsrv_header('Content-disposition',"attachment; filename=mor_missing_system_userids_&amp;amp;dto..xml"));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%STPBEGIN;&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;nbsp; End EG generated code (do not edit this line);&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp&lt;/P&gt;&lt;P&gt;&amp;nbsp; options ( sheet_name = 'Overall' absolute_column_width='30,10' zoom='80');&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods noresults;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data = system_nm noobs label;&lt;/P&gt;&lt;P&gt;&amp;nbsp; label system_nm = 'System NM'&lt;/P&gt;&lt;P&gt;&amp;nbsp; cnt = 'Count';&lt;/P&gt;&lt;P&gt;&amp;nbsp; format cnt comma12.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp style=statistical&lt;/P&gt;&lt;P&gt;&amp;nbsp; options ( sheet_name = 'none'&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_label = ' '&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_interval = 'Bygroup'&lt;/P&gt;&lt;P&gt;&amp;nbsp; absolute_column_width = '10,10,15,25,25,30,7'&lt;/P&gt;&lt;P&gt;&amp;nbsp; embedded_titles = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; autofilter = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; zoom = '80'&lt;/P&gt;&lt;P&gt;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data = warning_defaulted_srf_d nowindows ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by system_nm;&lt;/P&gt;&lt;P&gt;&amp;nbsp; columns employee_project_nm employee_pillar_nm employee_department_nm reporting_entity_nm&lt;/P&gt;&lt;P&gt;&amp;nbsp; event_userid comment cnt;&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;ods results;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:03:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146403#M4097</guid>
      <dc:creator>droog</dc:creator>
      <dc:date>2014-03-17T19:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: SPWA tagsets.ExcelXP not opening in Excel</title>
      <link>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146404#M4098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick glance, looks reasonable.&lt;/P&gt;&lt;P&gt;Why the second line? :&lt;/P&gt;&lt;P&gt;&amp;nbsp; %let _odsoptions= ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe that is over-writing some options set by SPWA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146404#M4098</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-03-17T19:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: SPWA tagsets.ExcelXP not opening in Excel</title>
      <link>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146405#M4099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quentin:&amp;nbsp; I commented out the _odsoptions line, same thing... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146405#M4099</guid>
      <dc:creator>droog</dc:creator>
      <dc:date>2014-03-17T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: SPWA tagsets.ExcelXP not opening in Excel</title>
      <link>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146406#M4100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My code for stpsrv_header doesn't have thoe quote marks in your code.&amp;nbsp; Don't need them in macro %LET statement.&lt;/P&gt;&lt;P&gt;That could definitely be the problem.&amp;nbsp; Mine looks like:&lt;/P&gt;&lt;PRE&gt;&amp;nbsp; %let rc=%sysfunc(stpsrv_header(Content-type,application/vnd.ms-excel));
&amp;nbsp; %let rc=%sysfunc(stpsrv_header(Content-disposition,attachment%str(;) filename=ReportFile.xls));
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146406#M4100</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-03-17T19:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: SPWA tagsets.ExcelXP not opening in Excel</title>
      <link>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146407#M4101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo.&amp;nbsp; Initially I had the STPSRV invocations in a data _null_, made them macro and forgot to take off the quotes....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much Quentin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SPWA-tagsets-ExcelXP-not-opening-in-Excel/m-p/146407#M4101</guid>
      <dc:creator>droog</dc:creator>
      <dc:date>2014-03-17T19:31:18Z</dc:date>
    </item>
  </channel>
</rss>

