<?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 running job multiple times in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318514#M88848</link>
    <description>Hi,&lt;BR /&gt;I have a requirement where I need to run sub job job multiple times based on the value of a  count. Say, if count is 4 then the subjob should run 4 times.&lt;BR /&gt;Is there any ways to run same  sub job multiple times ? &lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Biswajit</description>
    <pubDate>Tue, 07 May 2013 10:48:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-07T10:48:04Z</dc:date>
    <item>
      <title>running job multiple times</title>
      <link>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318514#M88848</link>
      <description>Hi,&lt;BR /&gt;I have a requirement where I need to run sub job job multiple times based on the value of a  count. Say, if count is 4 then the subjob should run 4 times.&lt;BR /&gt;Is there any ways to run same  sub job multiple times ? &lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Biswajit</description>
      <pubDate>Tue, 07 May 2013 10:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318514#M88848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-07T10:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: running job multiple times</title>
      <link>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318515#M88849</link>
      <description>Hi, 
&lt;BR /&gt;I simulate a job like
&lt;BR /&gt;rowGenerator--Main--&amp;gt;JavaRow--OnComponentOk--&amp;gt;Loop--Iterate--&amp;gt;Runjob
&lt;BR /&gt;In rowGenerator,I just set a int number "count" by random.
&lt;BR /&gt;In JavaRow, I wrote code :globalMap.put("count", input_row.count).
&lt;BR /&gt;In loop, I set ((Integer)globalMap.get("count")) for Max.
&lt;BR /&gt;In Subjob, I just put a tsystem .
&lt;BR /&gt;And this work fine.
&lt;BR /&gt;Best regards</description>
      <pubDate>Tue, 07 May 2013 11:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318515#M88849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-07T11:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: running job multiple times</title>
      <link>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318516#M88850</link>
      <description>Hi ,&lt;BR /&gt;Thanks for the reply.It works.&lt;BR /&gt;Can you please tell me how I an pass different values using this. Say in TrunJob I need to pass different numeric value to tRunJOb on each loop. Is it possible to do that?&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Biswajit</description>
      <pubDate>Tue, 07 May 2013 15:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318516#M88850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-07T15:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: running job multiple times</title>
      <link>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318517#M88851</link>
      <description>Hi,
&lt;BR /&gt;Base on the first simulation,
&lt;BR /&gt;I modify a job like.
&lt;BR /&gt;Loop--Iterate--&amp;gt;rowGenerator--Main--&amp;gt;JavaRow--OnComponentOk--&amp;gt;Loop--Iterate--&amp;gt;Runjob
&lt;BR /&gt; |
&lt;BR /&gt; OnComponentOk
&lt;BR /&gt; |
&lt;BR /&gt; v
&lt;BR /&gt; tSetEvn
&lt;BR /&gt;In first loop: I set defaut.I just want to simulate that job runs.
&lt;BR /&gt;In tSetEvn: I set Name: "count" and Value: (""+globalMap.get("count"))
&lt;BR /&gt;In subjob , I still use tsystem,but with a new code: "cmd /c echo HELLO "+System.getProperty("count").
&lt;BR /&gt;So, you can see that this job run several time and with different values.
&lt;BR /&gt;I hope its useful
&lt;BR /&gt;Best regards</description>
      <pubDate>Tue, 07 May 2013 16:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/running-job-multiple-times/m-p/2318517#M88851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-07T16:01:30Z</dc:date>
    </item>
  </channel>
</rss>

