<?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 script through QMC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Batch-script-through-QMC/m-p/1759387#M719277</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have written a macro which exports Table to an excel file.It works fine with Manual reload but its not working through QMC. I have seen all the posts over qlik community but nothing has helped.&lt;/P&gt;&lt;P&gt;I also tried with running Batch script through windows scheduler&amp;nbsp; and also tried with execute statement by writing to QVW file.&lt;/P&gt;&lt;P&gt;Scripts are as follows.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Batch script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\Qv.exe" /l "\\YZWK01\QlikView\Dashboard\NewFolder\Test2.qvw"&lt;/P&gt;&lt;P&gt;Test2.QVW -- file where the macro is written.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QVW with execute statement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /c ""C:\Program Files\QlikView\Qv.exe" /l "\\YZWK01\QlikView\Dashboard\NewFolder\Test2.qvw"&lt;/P&gt;&lt;P&gt;I tried all the options nothing worked out .Task keeps running over QMC forever.&lt;/P&gt;&lt;P&gt;Could anyone help on this asap?&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vidyarani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:40:14 GMT</pubDate>
    <dc:creator>vidyarani</dc:creator>
    <dc:date>2024-11-15T23:40:14Z</dc:date>
    <item>
      <title>Batch script through QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-script-through-QMC/m-p/1759387#M719277</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have written a macro which exports Table to an excel file.It works fine with Manual reload but its not working through QMC. I have seen all the posts over qlik community but nothing has helped.&lt;/P&gt;&lt;P&gt;I also tried with running Batch script through windows scheduler&amp;nbsp; and also tried with execute statement by writing to QVW file.&lt;/P&gt;&lt;P&gt;Scripts are as follows.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Batch script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\Qv.exe" /l "\\YZWK01\QlikView\Dashboard\NewFolder\Test2.qvw"&lt;/P&gt;&lt;P&gt;Test2.QVW -- file where the macro is written.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QVW with execute statement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /c ""C:\Program Files\QlikView\Qv.exe" /l "\\YZWK01\QlikView\Dashboard\NewFolder\Test2.qvw"&lt;/P&gt;&lt;P&gt;I tried all the options nothing worked out .Task keeps running over QMC forever.&lt;/P&gt;&lt;P&gt;Could anyone help on this asap?&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vidyarani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-script-through-QMC/m-p/1759387#M719277</guid>
      <dc:creator>vidyarani</dc:creator>
      <dc:date>2024-11-15T23:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Batch script through QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-script-through-QMC/m-p/1759519#M719278</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110947"&gt;@vidyarani&lt;/a&gt;, it should work with windos scheduler and setting a trigger OnPostReload, /l will keep the document open, /r can be used to save and close the document, leaving it closed to allow next execution to open it again.&lt;/P&gt;&lt;P&gt;Confirm that the credential executing the task has access to&amp;nbsp;&lt;SPAN&gt;\\YZWK01\QlikView\Dashboard\NewFolder. Or set the user you are executing the manual load as the credewntials to execute the task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, in module security (CTRL+M) you need to give access to system (I suppose you already has because it's working manually).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Other issue can be caused becasuse the credentials launching the task doesn't has a Qv license.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you manually launch the windows task, what does it do?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 09:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-script-through-QMC/m-p/1759519#M719278</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-11-07T09:01:53Z</dc:date>
    </item>
  </channel>
</rss>

