<?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 CALL statements not working for some users in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733302#M1313871</link>
    <description>&lt;P&gt;After 12 years building Qlik Apps this is a first for me. Maybe someone has an answer?&lt;/P&gt;&lt;P&gt;We have QlikView installed on a Terminal Server. Each user has their own license, but they are sharing the same QVW files.&lt;/P&gt;&lt;P&gt;I have recently changed the script to include subroutines for repeated statements.&lt;/P&gt;&lt;P&gt;When I log into the server and reload the script, it all works fine. When other users log into the server and reload the script, the subroutines are not executed.&lt;/P&gt;&lt;P&gt;Only difference I have found is that my user account is a local administrator on that server, other users are not administrators.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>whiteymcaces</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>CALL statements not working for some users</title>
      <link>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733302#M1313871</link>
      <description>&lt;P&gt;After 12 years building Qlik Apps this is a first for me. Maybe someone has an answer?&lt;/P&gt;&lt;P&gt;We have QlikView installed on a Terminal Server. Each user has their own license, but they are sharing the same QVW files.&lt;/P&gt;&lt;P&gt;I have recently changed the script to include subroutines for repeated statements.&lt;/P&gt;&lt;P&gt;When I log into the server and reload the script, it all works fine. When other users log into the server and reload the script, the subroutines are not executed.&lt;/P&gt;&lt;P&gt;Only difference I have found is that my user account is a local administrator on that server, other users are not administrators.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733302#M1313871</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: CALL statements not working for some users</title>
      <link>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733321#M1313874</link>
      <description>&lt;P&gt;Does the sub routines exist for the users. Have you tried creating a simple SUB just to check?&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;SUB helloworld&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;TRACE #### Hello world ####;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ENDSUB&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;CALL helloworld&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Are your SUB routines within the QlikView script or are they located in external qvs files included by &lt;FONT face="courier new,courier"&gt;Include &lt;/FONT&gt;functionality? If external then try changing the &lt;FONT face="courier new,courier"&gt;include&lt;/FONT&gt; statement to an &lt;FONT face="courier new,courier"&gt;must_include&lt;/FONT&gt; to ensure that they are in fact loading your subs.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#808080"&gt;//$(Include=path\to\subroutine.qvs);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;$(Must_Include=path\to\subroutine.qvs);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Does your sub routines do weird stuff like executing bat files or similar?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 07:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733321#M1313874</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-08-05T07:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: CALL statements not working for some users</title>
      <link>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733327#M1313877</link>
      <description>&lt;P&gt;The Subroutine and the CALL statement are both in the script.&lt;/P&gt;&lt;P&gt;I don't understand how they could be unavailable to any user??? How do I exclude Sub routines from users???&lt;/P&gt;&lt;P&gt;There are no Include statements in the script.&lt;/P&gt;&lt;P&gt;The subroutine uses the Rest Connect, but so does other parts of the script (which work fine for ALL users)&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 08:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733327#M1313877</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2020-08-05T08:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: CALL statements not working for some users</title>
      <link>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733376#M1313879</link>
      <description>&lt;P&gt;Did you try introducing a simple SUB&amp;nbsp; like my Hello World sub earlier?&lt;/P&gt;&lt;P&gt;The only somewhat tricky thing about SUBs as I can think of is that it can handle variables a bit differently compared to script not handled i a sub. Variables are local inside the sub.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at the SUB help page:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptControlStatements/Sub.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptControlStatements/Sub.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 10:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733376#M1313879</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-08-05T10:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: CALL statements not working for some users</title>
      <link>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733406#M1313880</link>
      <description>&lt;P&gt;Differences could be caused through the different security-settings from the users - user properties in tab security.&lt;/P&gt;&lt;P&gt;Also a different data-interpretation, for example caused through missing interpretation-variables (those which usually are in the sheet-tab main) because then will the system-interpretation be taken - may cause an invalid call-statement. In regard to the available data also section access could makes a difference.&lt;/P&gt;&lt;P&gt;Another look should go the used releases of all users and your server - it should be always the same to avoid any strange issues which are rather seldom but sometimes it happens.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 12:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733406#M1313880</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-08-05T12:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: CALL statements not working for some users</title>
      <link>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733669#M1313881</link>
      <description>&lt;P&gt;It seems the user had not provided all the information to me and, in fact, the subroutine had been called correctly in the first few iterations of the loop, that a completely separate issue has caused the subroutine to not be called.&lt;/P&gt;&lt;P&gt;Please disregard this thread!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 08:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALL-statements-not-working-for-some-users/m-p/1733669#M1313881</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2020-08-06T08:08:40Z</dc:date>
    </item>
  </channel>
</rss>

