<?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 Get errorlevel from EDX call in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-errorlevel-from-EDX-call/m-p/937309#M1296406</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 working with QlikView 11 and using Server/Publisher 11 for the reloads. To make this reloads I use an external scheduler and make the calls to the tasks via EDX. Everything is working fine. The code I use to call the EDX is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; "Start the task call"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set ERRORLEVEL=0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALL &lt;A href="https://community.qlik.com/" target="_blank"&gt;\\path\QMSEDX.exe&lt;/A&gt;&lt;SPAN&gt; -task=%1 -qms=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myserver&amp;gt;:4799/QMS/Service -timeout=%2 -verbosity=5&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; "End task call" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; "Error: " %ERRORLEVEL%&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Set ERRORLEVEL=%ERRORLEVEL%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&lt;SPAN&gt;GOTO: EOF&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When there is a problem in a task I receive ERRORLEVEL=1 and then I know that some problem has happened and I fix it. But when there is a problem connecting the distribution service, the variable ERRORLEVEL does not change and I get the ERRORLEVEL=0 and I do not realize that a problem has happened. I send you the log when this happens:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Start the task call"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to start the task due to the following error:FailedToContactDistributionService&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: Franklin Gothic Book;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;"End task call" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error: " 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of what can I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Jorge&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>jmengual</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Get errorlevel from EDX call</title>
      <link>https://community.qlik.com/t5/QlikView/Get-errorlevel-from-EDX-call/m-p/937309#M1296406</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 working with QlikView 11 and using Server/Publisher 11 for the reloads. To make this reloads I use an external scheduler and make the calls to the tasks via EDX. Everything is working fine. The code I use to call the EDX is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; "Start the task call"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set ERRORLEVEL=0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALL &lt;A href="https://community.qlik.com/" target="_blank"&gt;\\path\QMSEDX.exe&lt;/A&gt;&lt;SPAN&gt; -task=%1 -qms=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myserver&amp;gt;:4799/QMS/Service -timeout=%2 -verbosity=5&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; "End task call" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; "Error: " %ERRORLEVEL%&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Set ERRORLEVEL=%ERRORLEVEL%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&lt;SPAN&gt;GOTO: EOF&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When there is a problem in a task I receive ERRORLEVEL=1 and then I know that some problem has happened and I fix it. But when there is a problem connecting the distribution service, the variable ERRORLEVEL does not change and I get the ERRORLEVEL=0 and I do not realize that a problem has happened. I send you the log when this happens:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Start the task call"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to start the task due to the following error:FailedToContactDistributionService&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: Franklin Gothic Book;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;"End task call" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error: " 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of what can I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Jorge&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-errorlevel-from-EDX-call/m-p/937309#M1296406</guid>
      <dc:creator>jmengual</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

