<?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: Stored Process finished processing in SAS Information Delivery Portal but loading screen persist in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Stored-Process-finished-processing-in-SAS-Information-Delivery/m-p/610218#M5961</link>
    <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;The DATA step that sets the headers should be executed before the DATA step that writes content to _WEBOUT.&amp;nbsp; This won't solve your problem but at least the code will be written correctly.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Try adding this line of code to the end of your program to see if it helps:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let _STATUS_MESSAGE=Programm beendet.;&lt;/CODE&gt;&lt;/PRE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Dec 2019 18:34:17 GMT</pubDate>
    <dc:creator>Vince_SAS</dc:creator>
    <dc:date>2019-12-07T18:34:17Z</dc:date>
    <item>
      <title>Stored Process finished processing in SAS Information Delivery Portal but loading screen persists</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-finished-processing-in-SAS-Information-Delivery/m-p/608636#M5960</link>
      <description>&lt;DIV class="lia-message-heading lia-component-message-header"&gt;&lt;DIV class="lia-component-tkb-widget-labels-for-article"&gt;&lt;DIV class="LabelsForArticle"&gt;&lt;DIV class="LabelsList"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a stored process that is made available to our customers through the SAS Information Delivery Portal (IDP). The stored process generates an EXCEL File to download. Downloading the file works as expected. However, the “Please Wait...” loading animation from the SAS IDP keeps on going and does not stop with no feedback to the customer that is done processing:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="loading.PNG" style="width: 521px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34363i2FCAE5D6626D2B10/image-size/large?v=v2&amp;amp;px=999" role="button" title="loading.PNG" alt="loading.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This only happens for stored processes that don't have any prompt filters. For those that do, after submitting the filters, a new tab is automatically opened to generate the file and it closes automatically after downloading the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use SAS Information Delivery Portal Version: 4.4_M6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to fix this issue? Maybe force generating the EXCEL File in a new tab with target=_blank? Or is there a configuration somewhere that I need to adjust?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know which part of the stored process code is relevant to post here. All the code does is generate the data, create the XML with ods tagsets.excelxp, convert the resulting file to an XLSX and then makes the file available to download through _webout. Here is the code for the _webout part. As I mentioned earlier, downloading the file works like a charm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;data _null_;&lt;BR /&gt;infile "&amp;amp;fpath.\XXX_&amp;amp;ExcelDate..xlsx" recfm=f lrecl=1;&lt;BR /&gt;file _webout recfm=n;&lt;BR /&gt;input;&lt;BR /&gt;put _infile_;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');&lt;BR /&gt;rc = stpsrv_header('Content-disposition',"attachment; filename=XXX_&amp;amp;ExcelDate..xlsx");&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance and let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Houssam&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Dec 2019 08:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-finished-processing-in-SAS-Information-Delivery/m-p/608636#M5960</guid>
      <dc:creator>Houssam</dc:creator>
      <dc:date>2019-12-02T08:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process finished processing in SAS Information Delivery Portal but loading screen persist</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-finished-processing-in-SAS-Information-Delivery/m-p/610218#M5961</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;The DATA step that sets the headers should be executed before the DATA step that writes content to _WEBOUT.&amp;nbsp; This won't solve your problem but at least the code will be written correctly.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Try adding this line of code to the end of your program to see if it helps:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let _STATUS_MESSAGE=Programm beendet.;&lt;/CODE&gt;&lt;/PRE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2019 18:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-finished-processing-in-SAS-Information-Delivery/m-p/610218#M5961</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2019-12-07T18:34:17Z</dc:date>
    </item>
  </channel>
</rss>

