<?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 I have a SAS VIYA report with a JOB that needs to export an excel file in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/I-have-a-SAS-VIYA-report-with-a-JOB-that-needs-to-export-an/m-p/610739#M13368</link>
    <description>&lt;P&gt;Product Name: SAS Job Execution&lt;/P&gt;&lt;P&gt;Release: 2.1&lt;/P&gt;&lt;P&gt;SAS Viya release: V.03.04&lt;/P&gt;&lt;P&gt;Build Date: June 12,2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Product Name: SAS Report Viewer&lt;/P&gt;&lt;P&gt;Release: 8.3.1&lt;/P&gt;&lt;P&gt;SAS Viya release: V.03.04&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a report with a dial. On the dial I have a tool tip, "School_PK". It is numeric value that is passed to a JOB that is connected to this report. When I double-click on the dial, the JOB is executed, passed the current school_pk value to the JOB, and everything works great, with one exception. The JOB appears on a second tab rather than open in as a downloaded excel document that the end user can open and manipulate as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I need to add to my JOB code to make it a downloaded excel file on the users computer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added "_output_type" as a parameter under the JOB properties and then added "ods_excel" as the Default value, but this does not work. It produces and excel file :&amp;nbsp; 'SASResults.xlsx'&amp;nbsp; &amp;nbsp;. When I remove the quotes, the file says it is corrupted and cannot be opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I convert my JOB to "ods tagsets.excelxp ..." in lieu of "ods excel ..." , then I can get a download, but the downloaded file exports into the download folder with single quotes around it, so I have to open the download file, delete the first and last quote and then okay the conversion to excel. There is no way I can deploy this project like that. End users will not want to, nor understand why, it is necessary to remove those quotes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Am I using the wrong output type for a JOB?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 14:41:59 GMT</pubDate>
    <dc:creator>cuevasj</dc:creator>
    <dc:date>2019-12-10T14:41:59Z</dc:date>
    <item>
      <title>I have a SAS VIYA report with a JOB that needs to export an excel file</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/I-have-a-SAS-VIYA-report-with-a-JOB-that-needs-to-export-an/m-p/610739#M13368</link>
      <description>&lt;P&gt;Product Name: SAS Job Execution&lt;/P&gt;&lt;P&gt;Release: 2.1&lt;/P&gt;&lt;P&gt;SAS Viya release: V.03.04&lt;/P&gt;&lt;P&gt;Build Date: June 12,2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Product Name: SAS Report Viewer&lt;/P&gt;&lt;P&gt;Release: 8.3.1&lt;/P&gt;&lt;P&gt;SAS Viya release: V.03.04&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a report with a dial. On the dial I have a tool tip, "School_PK". It is numeric value that is passed to a JOB that is connected to this report. When I double-click on the dial, the JOB is executed, passed the current school_pk value to the JOB, and everything works great, with one exception. The JOB appears on a second tab rather than open in as a downloaded excel document that the end user can open and manipulate as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I need to add to my JOB code to make it a downloaded excel file on the users computer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added "_output_type" as a parameter under the JOB properties and then added "ods_excel" as the Default value, but this does not work. It produces and excel file :&amp;nbsp; 'SASResults.xlsx'&amp;nbsp; &amp;nbsp;. When I remove the quotes, the file says it is corrupted and cannot be opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I convert my JOB to "ods tagsets.excelxp ..." in lieu of "ods excel ..." , then I can get a download, but the downloaded file exports into the download folder with single quotes around it, so I have to open the download file, delete the first and last quote and then okay the conversion to excel. There is no way I can deploy this project like that. End users will not want to, nor understand why, it is necessary to remove those quotes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Am I using the wrong output type for a JOB?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 14:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/I-have-a-SAS-VIYA-report-with-a-JOB-that-needs-to-export-an/m-p/610739#M13368</guid>
      <dc:creator>cuevasj</dc:creator>
      <dc:date>2019-12-10T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: I have a SAS VIYA report with a JOB that needs to export an excel file</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/I-have-a-SAS-VIYA-report-with-a-JOB-that-needs-to-export-an/m-p/611026#M13373</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Can you post the Job code that creates the Excel file?&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>Wed, 11 Dec 2019 14:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/I-have-a-SAS-VIYA-report-with-a-JOB-that-needs-to-export-an/m-p/611026#M13373</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2019-12-11T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: I have a SAS VIYA report with a JOB that needs to export an excel file</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/I-have-a-SAS-VIYA-report-with-a-JOB-that-needs-to-export-an/m-p/611129#M13378</link>
      <description>* Create the Excel XML output and associate with the job;&lt;BR /&gt;filename xmlfile filesrvc parenturi="&amp;amp;SYS_JES_JOB_URI"&lt;BR /&gt;name='_webout.xml'&lt;BR /&gt;contenttype='application/vnd.ms-excel'&lt;BR /&gt;contentdisp='attachment; filename="&amp;amp;VA_school_year." MS Promo &amp;amp;today..xml';&lt;BR /&gt;&lt;BR /&gt;ods tagsets.excelXP file=xmlfile options(sheet_name="Overall Schoolwide Progress" frozen_headers='1');&lt;BR /&gt;&lt;BR /&gt;...then proc report or whatever you would like to have in you excel file here ...</description>
      <pubDate>Wed, 11 Dec 2019 20:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/I-have-a-SAS-VIYA-report-with-a-JOB-that-needs-to-export-an/m-p/611129#M13378</guid>
      <dc:creator>cuevasj</dc:creator>
      <dc:date>2019-12-11T20:15:32Z</dc:date>
    </item>
  </channel>
</rss>

