<?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 Re: job recursive calls in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334103#M102816</link>
    <description>Hi, 
&lt;BR /&gt;first: did anyone tried Menuet solution? I think this is not possible because different variables are defined as static. This will lead in many problems. This is, from my point of views, a big design issue. So you need to transform your recursive call to an loop. This should (theoretical) always be possible. 
&lt;BR /&gt;If you give some more information about your job, we could try to help you out 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Bye 
&lt;BR /&gt;Volker</description>
    <pubDate>Mon, 29 Jun 2009 22:11:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-06-29T22:11:36Z</dc:date>
    <item>
      <title>job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334100#M102813</link>
      <description>Hello,
&lt;BR /&gt;How can I call recursively a job (TOS 3.0.4) ?
&lt;BR /&gt;The component tRunJob does not allow calling the job in which the component is used. 
&lt;BR /&gt;I want to do something like :
&lt;BR /&gt;
&lt;BR /&gt;MyRecursiveJob =
&lt;BR /&gt;+subJob1
&lt;BR /&gt;|
&lt;BR /&gt;|
&lt;BR /&gt;OnSubJobOK
&lt;BR /&gt;|
&lt;BR /&gt;|
&lt;BR /&gt;+tDBInput ---If (tMSSqlInput_NB_LINE &amp;gt;0) ---&amp;gt; tRunJob_1(MyRecursiveJob)
&lt;BR /&gt;
&lt;BR /&gt;Is there a simple way to do that ?
&lt;BR /&gt;
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 14:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334100#M102813</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334101#M102814</link>
      <description>Hello, 
&lt;BR /&gt; 
&lt;BR /&gt; yes you can :
&lt;BR /&gt; 
&lt;BR /&gt; 1) Create a job that call your "MyRecursiveJob" 
&lt;BR /&gt; 2) Call this job from MyRecursiveJob ! 
&lt;BR /&gt; 
&lt;BR /&gt; But isn't the better way. Are you sure to need to use recursivity ? be aware with memory and exit condition.</description>
      <pubDate>Wed, 01 Apr 2009 15:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334101#M102814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-01T15:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334102#M102815</link>
      <description>Hi, 
&lt;BR /&gt;I would like to use recursive calls too, to be able use a hierarchy table with this kind of structure : 
&lt;BR /&gt;hierarchy_table(id_parent number, id_child number) 
&lt;BR /&gt;like the nodes of a tree... 
&lt;BR /&gt;I've been looking several ways with the loop component, but i did not find any solution. 
&lt;BR /&gt;I'm not asking you to do my job, but do you have any idea of how to make easy and not so heavy for the memory, or do i have to use job calls like you explained before? 
&lt;BR /&gt;Just for information, i'm using TOS 3.0.5 with Java and a MySQL 5 db, 
&lt;BR /&gt;Thanks and have a nice day...</description>
      <pubDate>Thu, 25 Jun 2009 14:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334102#M102815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-25T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334103#M102816</link>
      <description>Hi, 
&lt;BR /&gt;first: did anyone tried Menuet solution? I think this is not possible because different variables are defined as static. This will lead in many problems. This is, from my point of views, a big design issue. So you need to transform your recursive call to an loop. This should (theoretical) always be possible. 
&lt;BR /&gt;If you give some more information about your job, we could try to help you out 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Bye 
&lt;BR /&gt;Volker</description>
      <pubDate>Mon, 29 Jun 2009 22:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334103#M102816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-29T22:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334104#M102817</link>
      <description>Sorry I forgot to give you some feedback. 
&lt;BR /&gt;Here it is : 
&lt;BR /&gt;I tried emenuet's solution but it did not work (can't remember the error but when I cliked on the run button I got an error message before the process really started). 
&lt;BR /&gt;Anyway you were right, it was possible to avoid this recursive call with a loop and a global variable. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Fred</description>
      <pubDate>Fri, 21 Aug 2009 15:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334104#M102817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-21T15:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334105#M102818</link>
      <description>Hello,&lt;BR /&gt;Can anybody post the answer here?&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;MyRecursiveJob =&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;+subJob1&lt;BR /&gt;|&lt;BR /&gt;|&lt;BR /&gt;OnSubJobOK&lt;BR /&gt;|&lt;BR /&gt;|&lt;BR /&gt;+tDBInput ---If (tMSSqlInput_NB_LINE &amp;gt;0) ---&amp;gt; tRunJob_1(MyRecursiveJob)&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;I have the same problem, and I do not know how to create and call a recursive job.&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 17 May 2016 14:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334105#M102818</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-05-17T14:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334106#M102819</link>
      <description>I think the answer to this question is to use tLoop.&lt;BR /&gt;tLoop(Iterate)-&amp;gt;tRunJob(OnSubJobOK)-&amp;gt;SubJob&lt;BR /&gt;Where SubJob is your logic to determine if the loop should end.&lt;BR /&gt;And maybe adding a Thread.sleep() before the next iteration of the loop may be useful.&lt;BR /&gt;This is iteration not recursion.</description>
      <pubDate>Tue, 17 May 2016 14:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334106#M102819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-17T14:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: job recursive calls</title>
      <link>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334107#M102820</link>
      <description>Thank you&amp;nbsp;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tal00000 !&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;It is helpful, I use an iteration and it works.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tLoop---&amp;gt;iterate---&amp;gt;myChildJob&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I retrieve the value returned by myChildJob and check it in the tLoop condition (while).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;</description>
      <pubDate>Wed, 18 May 2016 15:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/job-recursive-calls/m-p/2334107#M102820</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-05-18T15:29:54Z</dc:date>
    </item>
  </channel>
</rss>

