<?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 Batch File to return success or failure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Batch-File-to-return-success-or-failure/m-p/518697#M1302696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that at a particular time a batch file should run, fetch a file from SFTP location and then perform QVD reloads that will sue the file. I would like to achieve the same by creating a Job A in the QMC that will run the batch file and get the file. On success or failure of Job A, Job B should create the QVD's then the next Job to reload teh dashboard. Note that on Success of A, B will run, on success of B, C will run. There is a scenario where I would like to force fail the job. Say we have not received the file and Job A should fail which will send out a email. Then there will be manual intervention to look at getting the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I make Job A fail which is a batch file execution, when the batch file did not get any file from SFTP?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>rajeshvaswani77</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Batch File to return success or failure</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-File-to-return-success-or-failure/m-p/518697#M1302696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that at a particular time a batch file should run, fetch a file from SFTP location and then perform QVD reloads that will sue the file. I would like to achieve the same by creating a Job A in the QMC that will run the batch file and get the file. On success or failure of Job A, Job B should create the QVD's then the next Job to reload teh dashboard. Note that on Success of A, B will run, on success of B, C will run. There is a scenario where I would like to force fail the job. Say we have not received the file and Job A should fail which will send out a email. Then there will be manual intervention to look at getting the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I make Job A fail which is a batch file execution, when the batch file did not get any file from SFTP?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&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/Batch-File-to-return-success-or-failure/m-p/518697#M1302696</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch File to return success or failure</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-File-to-return-success-or-failure/m-p/518698#M1302697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There isn't a clean way to make a QVW Script fail, there is no exit(error) that will cause the desired behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should just try to read a file that doesn't exist or something like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM FORCE_ERROR.QVD;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 16:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-File-to-return-success-or-failure/m-p/518698#M1302697</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2013-10-08T16:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Batch File to return success or failure</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-File-to-return-success-or-failure/m-p/518699#M1302698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have an alertmail inside your Qvw application that will send out an alertmail when the file has been updated with a value change. But there is no check that will "look" for a file to be fetched, all based on data being loaded. QMC acts on failures vs success, so that can´t be used in such scenario either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best would be if you implement a load of somekind inside the qvw that can trigger an alert mail, when the file is fetched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-File-to-return-success-or-failure/m-p/518699#M1302698</guid>
      <dc:creator />
      <dc:date>2013-10-11T12:35:16Z</dc:date>
    </item>
  </channel>
</rss>

