<?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>article Qlik Analytics: During STORE command the File Save occasionally fails in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/ta-p/1715771</link>
    <description>&lt;P&gt;An example scenario:&lt;/P&gt;
&lt;P&gt;One has approximately 20 Qlik sense applications which load data from the same source QVD. The QVD file is required to be updated at least once an hour.&amp;nbsp;Should&amp;nbsp;Qlik fail to secure write access on the file, a routine could be used to wait 10 seconds and retry.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Resolution/Script&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SUB StoreQVTable (Table, Path) 

SET ErrorMode=0; 
Set ScriptErrorCount = 0; 
Set RC = 0; 

DO WHILE TRUE() 

STORE [$(Table)] INTO [$(Path)] (qvd); 

IF $(ScriptErrorCount) = 0 THEN 

EXIT DO 

ELSE 

Set ScriptErrorCount = 0; 
LET RC=RC+1; 

END IF 


IF ($(RC) = 10) THEN // If not yet successful, exit script 
// CALL consoleLog('ERROR: Failed to save [$(Table)] INTO [$(Path)] after 10 tries.'); 
TRACE 'ERROR: Failed to save [$(Table)] INTO [$(Path)] after 10 tries.'; 
SET ErrorMode=2; 
Load * from ERROR.qvd; 
END IF 

// CALL consoleLog('ERROR: Failed to save [$(Table)] INTO [$(Path)]. Try $(rc) of 10.'); 
TRACE 'ERROR: Failed to save [$(Table)] INTO [$(Path)]. Try $(RC) of 10.'; 
SLEEP 10000; // wait for 10secs. 

LOOP 
SET ErrorMode=2; 

END SUB&lt;/LI-CODE&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;</description>
    <pubDate>Tue, 16 Dec 2025 12:11:00 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2025-12-16T12:11:00Z</dc:date>
    <item>
      <title>Qlik Analytics: During STORE command the File Save occasionally fails</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/ta-p/1715771</link>
      <description>&lt;P&gt;An example scenario:&lt;/P&gt;
&lt;P&gt;One has approximately 20 Qlik sense applications which load data from the same source QVD. The QVD file is required to be updated at least once an hour.&amp;nbsp;Should&amp;nbsp;Qlik fail to secure write access on the file, a routine could be used to wait 10 seconds and retry.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Resolution/Script&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SUB StoreQVTable (Table, Path) 

SET ErrorMode=0; 
Set ScriptErrorCount = 0; 
Set RC = 0; 

DO WHILE TRUE() 

STORE [$(Table)] INTO [$(Path)] (qvd); 

IF $(ScriptErrorCount) = 0 THEN 

EXIT DO 

ELSE 

Set ScriptErrorCount = 0; 
LET RC=RC+1; 

END IF 


IF ($(RC) = 10) THEN // If not yet successful, exit script 
// CALL consoleLog('ERROR: Failed to save [$(Table)] INTO [$(Path)] after 10 tries.'); 
TRACE 'ERROR: Failed to save [$(Table)] INTO [$(Path)] after 10 tries.'; 
SET ErrorMode=2; 
Load * from ERROR.qvd; 
END IF 

// CALL consoleLog('ERROR: Failed to save [$(Table)] INTO [$(Path)]. Try $(rc) of 10.'); 
TRACE 'ERROR: Failed to save [$(Table)] INTO [$(Path)]. Try $(RC) of 10.'; 
SLEEP 10000; // wait for 10secs. 

LOOP 
SET ErrorMode=2; 

END SUB&lt;/LI-CODE&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;</description>
      <pubDate>Tue, 16 Dec 2025 12:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/ta-p/1715771</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2025-12-16T12:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: During STORE command the File Save occasionally fails</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/1775751#M1499</link>
      <description>&lt;P&gt;Will this also work for Qlik Sense or does a modification need to be made?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 18:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/1775751#M1499</guid>
      <dc:creator>crichter14</dc:creator>
      <dc:date>2021-01-19T18:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: During STORE command the File Save occasionally fails</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/1776241#M1525</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12760"&gt;@crichter14&lt;/a&gt;&amp;nbsp;This should work for Qlik Sense as well! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 09:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/1776241#M1525</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-01-21T09:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: During STORE command the File Save occasionally fails</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/1822165#M3683</link>
      <description>&lt;P&gt;Is STORE general exceptions errors capture in ErrorCodes. In the previous QlikView versions, it always failed even though we disabled error failure mode&amp;nbsp;ErrorMode=0;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 16:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/1822165#M3683</guid>
      <dc:creator>dathu</dc:creator>
      <dc:date>2021-07-14T16:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: During STORE command the File Save occasionally fails</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/2500740#M15213</link>
      <description>&lt;P&gt;Thanks for the alternate solutions&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28597"&gt;@Sonja_Bauernfeind&lt;/a&gt;&amp;nbsp;... we have had issues when rewriting large QVDs after a delta scripting, and this solutions seems promising to allow a new try to store the QVD without losing the data or restart the task&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 07:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Analytics-During-STORE-command-the-File-Save-occasionally/tac-p/2500740#M15213</guid>
      <dc:creator>Luis_Galvan</dc:creator>
      <dc:date>2025-01-10T07:18:15Z</dc:date>
    </item>
  </channel>
</rss>

