<?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: PROC REPORT(no excel output )  vs PROC PRINT  in a stored process when output is excel in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334695#M62895</link>
    <description>&lt;P&gt;When running with PROC PRINT; Excel is opened however with PROC REPORT it attempts to open an unknown file type:&lt;/P&gt;&lt;P&gt;we get a File Doanload Prompt with the Name result._WEBOUTUnknown Type:Unknown File Typpe From: the location of the file.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 16:12:45 GMT</pubDate>
    <dc:creator>jplarios</dc:creator>
    <dc:date>2017-02-21T16:12:45Z</dc:date>
    <item>
      <title>PROC REPORT(no excel output )  vs PROC PRINT  in a stored process when output is excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334675#M62892</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a STP program that uses the following belowfor the STP to output in Excel&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Set HTTP headers */&lt;/P&gt;&lt;P&gt;&amp;nbsp; rc = stpsrv_header('Content-type','application/vnd.ms-excel');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* Prompt to SAVE or OPEN the attachment file named test.xls using Excel */&lt;/P&gt;&lt;P&gt;rc = stpsrv_header('Content-disposition','attachment; filename=filename.xls');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* OR */&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* Open results directly to Excel (browser-dependent) *&lt;/P&gt;&lt;P&gt;&amp;nbsp; rc = stpsrv_header('Content-disposition',"inline");&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;WHen using Proc Print it outputs to Excel ; but not if using PROC REPORT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 15:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334675#M62892</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2017-02-21T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT(no excel output )  vs PROC PRINT  in a stored process when output is excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334682#M62893</link>
      <description>&lt;P&gt;What is the proc print / proc report doing? &amp;nbsp;The reason being there are many ways to create Excel files - tagsets.excelxp, libname excel, etc. &amp;nbsp;It could also be that the proc report is not working and creating an invalid Excel file. &amp;nbsp;You haven't said what happens when the proc report is used, is there an error, does it open and there is no data, does nothing happen? &amp;nbsp;What does the log of the proc report say - maybe there is an error? &amp;nbsp;Maybe your missing a style, or you haven't specified columns in the proc report - I get this, when columnsis not given you wont get output.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 15:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334682#M62893</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-21T15:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT(no excel output )  vs PROC PRINT  in a stored process when output is excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334695#M62895</link>
      <description>&lt;P&gt;When running with PROC PRINT; Excel is opened however with PROC REPORT it attempts to open an unknown file type:&lt;/P&gt;&lt;P&gt;we get a File Doanload Prompt with the Name result._WEBOUTUnknown Type:Unknown File Typpe From: the location of the file.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 16:12:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334695#M62895</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2017-02-21T16:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT(no excel output )  vs PROC PRINT  in a stored process when output is excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334859#M62908</link>
      <description>&lt;P&gt;You will need to show how you are doing it. &amp;nbsp;If you proc report to ods tagsets.execelxp and call it xlsx then that is a mismatch as tagsets creates XML output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 09:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334859#M62908</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-22T09:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT(no excel output )  vs PROC PRINT  in a stored process when output is excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334948#M62912</link>
      <description>&lt;P&gt;thank you; your answer helps me clarify our issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 13:47:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-no-excel-output-vs-PROC-PRINT-in-a-stored-process/m-p/334948#M62912</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2017-02-22T13:47:41Z</dc:date>
    </item>
  </channel>
</rss>

