<?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 ODS Excel file webout in SAS Viya in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/ODS-Excel-file-webout-in-SAS-Viya/m-p/645523#M9125</link>
    <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;I am trying to run the below code in SAS Studio in SAS Viya&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;rc = appsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');&lt;BR /&gt;rc = appsrv_header('Content-disposition','attachment; filename=test.xlsx');&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods excel file = _webout ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title "&amp;amp;title";&lt;BR /&gt;proc print data=sashelp.class;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;But it is showing error that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Program error.&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;68-185: The function APPSRV_HEADER is unknown, or cannot be accessed.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Actually i want to link this code with my graphs to download the excel file.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Patel&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2020 06:32:22 GMT</pubDate>
    <dc:creator>harshpatel</dc:creator>
    <dc:date>2020-05-06T06:32:22Z</dc:date>
    <item>
      <title>ODS Excel file webout in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ODS-Excel-file-webout-in-SAS-Viya/m-p/645523#M9125</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;I am trying to run the below code in SAS Studio in SAS Viya&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;rc = appsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');&lt;BR /&gt;rc = appsrv_header('Content-disposition','attachment; filename=test.xlsx');&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods excel file = _webout ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title "&amp;amp;title";&lt;BR /&gt;proc print data=sashelp.class;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;But it is showing error that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Program error.&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;68-185: The function APPSRV_HEADER is unknown, or cannot be accessed.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Actually i want to link this code with my graphs to download the excel file.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Patel&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 06:32:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ODS-Excel-file-webout-in-SAS-Viya/m-p/645523#M9125</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2020-05-06T06:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel file webout in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ODS-Excel-file-webout-in-SAS-Viya/m-p/645524#M9126</link>
      <description>&lt;P&gt;The APPSRV_ functions are part of the Application Dispatcher, which is a SAS/IntrNet 9.4 component, and not available in Viya.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=dispatch&amp;amp;docsetTarget=require.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=dispatch&amp;amp;docsetTarget=require.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 07:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ODS-Excel-file-webout-in-SAS-Viya/m-p/645524#M9126</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-06T07:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel file webout in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ODS-Excel-file-webout-in-SAS-Viya/m-p/645525#M9127</link>
      <description>&lt;P&gt;Thank You for your answer.&lt;/P&gt;&lt;P&gt;But what is the solution of my question whether i could download the excel file with this code or any alternate code?&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 07:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ODS-Excel-file-webout-in-SAS-Viya/m-p/645525#M9127</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2020-05-06T07:06:18Z</dc:date>
    </item>
  </channel>
</rss>

