<?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: Equivalent to STPSRV_HEADER in Viya in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Equivalent-to-STPSRV-HEADER-in-Viya/m-p/630446#M665</link>
    <description>&lt;P&gt;Aah it was quite simple, just set the contenttype attribute of the filename statement, eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;filename _webout filesrvc parenturi="&amp;amp;SYS_JES_JOB_URI" &lt;BR /&gt;  name='_webout.xml' contenttype='application/vnd.ms-excel' &lt;BR /&gt;  contentdisp='attachment; filename="MyFile.xml"';&lt;/PRE&gt;
&lt;P&gt;Docs:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lestmtsglobal&amp;amp;docsetTarget=p0qapul7pyz9hmn0zfoefj0c278a.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=lestmtsglobal&amp;amp;docsetTarget=p0qapul7pyz9hmn0zfoefj0c278a.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Mar 2020 00:14:57 GMT</pubDate>
    <dc:creator>AllanBowe</dc:creator>
    <dc:date>2020-03-08T00:14:57Z</dc:date>
    <item>
      <title>Equivalent to STPSRV_HEADER in Viya</title>
      <link>https://communities.sas.com/t5/Developers/Equivalent-to-STPSRV-HEADER-in-Viya/m-p/630445#M664</link>
      <description>&lt;P&gt;Is there any way to set the `content-type` in the header of the content streamed to _webout from the Job Execution service?&amp;nbsp; For instance:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;text/csv&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;application/pdf&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;application/vnd.ms-excel&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&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>Sat, 07 Mar 2020 23:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Equivalent-to-STPSRV-HEADER-in-Viya/m-p/630445#M664</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2020-03-07T23:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent to STPSRV_HEADER in Viya</title>
      <link>https://communities.sas.com/t5/Developers/Equivalent-to-STPSRV-HEADER-in-Viya/m-p/630446#M665</link>
      <description>&lt;P&gt;Aah it was quite simple, just set the contenttype attribute of the filename statement, eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;filename _webout filesrvc parenturi="&amp;amp;SYS_JES_JOB_URI" &lt;BR /&gt;  name='_webout.xml' contenttype='application/vnd.ms-excel' &lt;BR /&gt;  contentdisp='attachment; filename="MyFile.xml"';&lt;/PRE&gt;
&lt;P&gt;Docs:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lestmtsglobal&amp;amp;docsetTarget=p0qapul7pyz9hmn0zfoefj0c278a.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=lestmtsglobal&amp;amp;docsetTarget=p0qapul7pyz9hmn0zfoefj0c278a.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 00:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Equivalent-to-STPSRV-HEADER-in-Viya/m-p/630446#M665</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2020-03-08T00:14:57Z</dc:date>
    </item>
  </channel>
</rss>

