<?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 Script execution problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299795#M1199030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The problem is in the Store statement. Change the destination file name to the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;"..\..\Source Data\Archive Data\table_name.qvd"&lt;/PRE&gt;&lt;PRE&gt;Brackets should also work&lt;/PRE&gt;&lt;PRE&gt;[..\..\Source Data\Archive Data\table_name.qvd]&lt;/PRE&gt;&lt;PRE&gt;Regards,&lt;/PRE&gt;&lt;PRE&gt;Mike&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2011 20:09:08 GMT</pubDate>
    <dc:creator>mike_garcia</dc:creator>
    <dc:date>2011-01-12T20:09:08Z</dc:date>
    <item>
      <title>Script execution problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299794#M1199029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;New problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've been trying to load a script, but QlikView keeps failing to load it. It starts out fine but at the end I keep getting the message: "Execution of script failed. Reload old data?"&lt;/P&gt;&lt;P&gt;By going through my code several times and trying to take out different parts, I've located the exact script that has QV failing. Here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;table_name:&lt;BR /&gt;LOAD&lt;BR /&gt;emailid,&lt;BR /&gt;min_date,&lt;BR /&gt;max_date,&lt;BR /&gt;referer,&lt;BR /&gt;'US' as Realm;&lt;BR /&gt;SQL&lt;BR /&gt;select&lt;BR /&gt;concat('US_',cast(emailid as char)) as emailid&lt;BR /&gt;,min(Date) as min_date&lt;BR /&gt;,max(Date) as max_date&lt;BR /&gt;,concat('US_',cast(max(refererid) as char)) as referer&lt;BR /&gt;from database_us.tmp_oldtablename&lt;BR /&gt;group by tmp_oldtablename.emailid;&lt;BR /&gt;&lt;BR /&gt;Store table_name INTO ..\..\Source Data\Archive Data\table_name.qvd (qvd) ;&lt;BR /&gt;drop table table_name;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The weird thing is that QV doesn't explain WHY the execution fails. It just does. And it's rather perplexing since I've done a very similar thing before with any problems...&lt;/P&gt;&lt;P&gt;Any ideas as to where my script is bothering the system?&lt;/P&gt;&lt;P&gt;Thank you for any help you can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 19:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299794#M1199029</guid>
      <dc:creator>madsgrathe</dc:creator>
      <dc:date>2011-01-12T19:52:18Z</dc:date>
    </item>
    <item>
      <title>Script execution problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299795#M1199030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The problem is in the Store statement. Change the destination file name to the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;"..\..\Source Data\Archive Data\table_name.qvd"&lt;/PRE&gt;&lt;PRE&gt;Brackets should also work&lt;/PRE&gt;&lt;PRE&gt;[..\..\Source Data\Archive Data\table_name.qvd]&lt;/PRE&gt;&lt;PRE&gt;Regards,&lt;/PRE&gt;&lt;PRE&gt;Mike&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 20:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299795#M1199030</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2011-01-12T20:09:08Z</dc:date>
    </item>
    <item>
      <title>Script execution problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299796#M1199031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow! That did just the trick!&lt;/P&gt;&lt;P&gt;Thank you so much &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 21:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299796#M1199031</guid>
      <dc:creator>madsgrathe</dc:creator>
      <dc:date>2011-01-12T21:09:06Z</dc:date>
    </item>
    <item>
      <title>Script execution problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299797#M1199032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;Turned out that wasn't the problem. However, earlier today I found the answer.&lt;/P&gt;&lt;P&gt;Turns out the script I was running was trying to access a QVD file that was in use by another QV application. Once I closed this application, my script ran again no problem.&lt;/P&gt;&lt;P&gt;It's a shame that QlikView doesn't tell you this instead of just giving you a non-descriptive failure message.&lt;/P&gt;&lt;P&gt;I just wanted to share it with anyone else who might be running into similar issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 19:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299797#M1199032</guid>
      <dc:creator>madsgrathe</dc:creator>
      <dc:date>2011-01-13T19:30:15Z</dc:date>
    </item>
    <item>
      <title>Script execution problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299798#M1199033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for sharing your information.&lt;/P&gt;&lt;P&gt;Had the same problem and your information helped me solve it.&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2011 22:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299798#M1199033</guid>
      <dc:creator>david_ze</dc:creator>
      <dc:date>2011-03-12T22:17:08Z</dc:date>
    </item>
    <item>
      <title>Script execution problem</title>
      <link>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299799#M1199034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I know this post was a little while ago.&lt;/P&gt;&lt;P&gt;But I now have the same problem, where Debug shows the script executing OK but on close says its actually failed. Where can I find out what is going wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2012 17:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-execution-problem/m-p/299799#M1199034</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2012-01-12T17:30:17Z</dc:date>
    </item>
  </channel>
</rss>

