<?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: Cleaning up variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697223#M671930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that worked.&lt;/P&gt;&lt;P&gt;I got a dialog_field once, but now it seems the script runs without asking.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2014 09:23:04 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-10-10T09:23:04Z</dc:date>
    <item>
      <title>Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697215#M671922</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;/P&gt;&lt;P&gt;I am always trying to keep my QlikView_apps slim and tidy and understandable for outsiders.&lt;/P&gt;&lt;P&gt;One thing that has been bothering me is variables that are not needed anymore or are not even part of the code anymore, but that have been created at some time or other and are still around there.&lt;/P&gt;&lt;P&gt;=&amp;gt; Is there any way to delete variables after they have been used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 20:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697215#M671922</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-09T20:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697216#M671923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can delete variables that you won't need anymore. Just use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set variable = ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's one caveat. It only work for variables that were created for the first time in the script. If the variables are already in the Variable Overview, you'll need to delete them there first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 21:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697216#M671923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-09T21:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697217#M671924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bruno!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try that out immediately. Can I also clean up files (qvd) that I have created in the process?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 08:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697217#M671924</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T08:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697218#M671925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Execute&lt;/STRONG&gt; CMD.EXE /C del "qvdname.qvd";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 08:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697218#M671925</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-10-10T08:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697219#M671926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that sounds promising. I was supposing you could do some cool things with that EXECUTE command, but honestly I'm not good at working in the command line.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;I'll try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 08:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697219#M671926</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T08:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697220#M671927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an error that the command may not be executed because I don't have the access_rights. I wonder why - the file I want to delete is on the QlikViewServer which I have RW access to.&lt;/P&gt;&lt;P&gt;Do I have to specify the complete file_path? I guess I do ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Well, I still got the error, but this time round I clicked on OK and the command was executed anyway. Of course there's no way I can manually execute the script in the time_interval we need and click on OK at this point every time.&lt;/P&gt;&lt;P&gt;=&amp;gt; Is there any way I can pass something like the /f (force) option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697220#M671927</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697221#M671928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto edit script-&amp;gt;Settings(tab - the left bottom)-&amp;gt;Check 'Can Execute External Programs'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697221#M671928</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-10-10T09:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697222#M671929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you have to specify a path to every QVD (you can use variables to make that more flexible). Otherwise, the reload engine will try to find those QVD's in the directory where the QVW model resides (User Documents), or where you were after the last Directory; script statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697222#M671929</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-10-10T09:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697223#M671930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that worked.&lt;/P&gt;&lt;P&gt;I got a dialog_field once, but now it seems the script runs without asking.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697223#M671930</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T09:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697224#M671931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;O_O - I still get that dialog_window and have to confirm that I want to run the script with access to external files ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697224#M671931</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T09:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697225#M671932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User Preference-&amp;gt;Security-&amp;gt;Check: 'Script(Allow Database Write and Execute Statement'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697225#M671932</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-10-10T09:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697226#M671933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good. There's just one caveat to that: In the long run, the app will be executed regularly on the server. The QlikView_user (the user that we have specified on the server to do all the reloading) does not have a QlikView_client installed, though.&lt;/P&gt;&lt;P&gt;Is there any way around that?&lt;/P&gt;&lt;P&gt;Needless to say, it would not be a big thing to just leave the files there - the script is supposed to run every 30min, so it doesn't make much of a difference. It would be a nice_to_have and an addition to our internal_development_standards - to always clean up after yourself just like you (are supposed to) do in real life &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697226#M671933</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T09:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697227#M671934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am bit confused now. Did I hear that your application server would not have qv client installed? Qv would get reloaded in a server where there is no qv client installed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697227#M671934</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-10-10T09:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697228#M671935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You surely didn't hear that except if your computer has the ability to speak everything in a forum &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But yes, that's how it is - we have the QlikViewServer, and that takes care of all the reloading - well, I confused something. The QlikView-user does not have a license, that was never necessary. I'll have a look if there is a client installed. I can log on as that user. Just a moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Yes, there is a client - when I log on as that user. I already ticked that checkbox. So that, combined with the setting in the script_editor, should do the trick. I'll try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 10:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697228#M671935</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T10:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697229#M671936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running the Execute some time hangs up on the server. In Qlikview 11 we have a option to run the external scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So first schedule a task running your App. Create the dependent external schedule job to clean up the qvd files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QEMC --&amp;gt; System --&amp;gt; External Program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 13:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697229#M671936</guid>
      <dc:creator />
      <dc:date>2014-10-10T13:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up variables</title>
      <link>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697230#M671937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try this out. Cleaning up the files after use is essential here because the next time round, the code will run on another base_data_list, there might not be new files to replace them and then they'll end up being appended and mess up the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 15:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cleaning-up-variables/m-p/697230#M671937</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-10-10T15:57:15Z</dc:date>
    </item>
  </channel>
</rss>

