<?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: Rollback/Commit a job with serial and parallel connections in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313077#M83969</link>
    <description>&lt;P&gt;Thanks.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying this and have a few questions&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I create a main job and set the tmysqlconnection and give it the name mysql_shared_db. Now in the child job I pull another tmysqlconnection and just give the details of the main connection in the main job i.e., mysql_shared_db. Now, when I pull a tmysqlinput in the child job and use the mysql_shared_db details, the connection is not recognized.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The below picture is the main job and below that is the child job. May I please know what is my mistake here?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="main job" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvID.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154976i8856EC620C109AD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvID.png" alt="0683p000009LvID.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;main job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="child job" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvFT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129573i3CE2E93623594DE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvFT.png" alt="0683p000009LvFT.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;child job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Rathi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2017 11:17:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-06T11:17:33Z</dc:date>
    <item>
      <title>Rollback/Commit a job with serial and parallel connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313073#M83965</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a job that has many other jobs connected. The basic design looks like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tprejob --&amp;gt; tmysqlconnection&lt;/P&gt;
&lt;P&gt;job1 --onsubjobok--&amp;gt; job2 --onsubjobok-- job3&lt;/P&gt;
&lt;P&gt;tpostjob -- job5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;job5 has many other jobs inside it and all those jobs in side of job5 run in parallel&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, my question is how do I rollback all data if a job fails either in serial connection or parallel connection? Similarly, the commit too?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The work is on mysql database&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Rathi&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313073#M83965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback/Commit a job with serial and parallel connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313074#M83966</link>
      <description>&lt;P&gt;I will advise moving job5 into your main job after the job3 with an onSubjobOk. &amp;nbsp;Hence,all your parallel logic should be part of the main job logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prejob and PostJob should be short and sweet. &amp;nbsp;You just open your connection in PreJob and Close your connection in PostJob.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Commit and Rollback functionality should be part of the main job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If all your DB components are using the same tMySQLConnection, you should be able to put a rollback on it. &amp;nbsp;You should use a shared db connection (specify the name everywhere in all connection components) and all your childjob should be running within the same process.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 10:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313074#M83966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T10:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback/Commit a job with serial and parallel connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313075#M83967</link>
      <description>&lt;P&gt;Hi iburtally,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for the response. I get the point to move job3 to main job&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the series of jobs where do I put the commit and rollback, this is what I am unable to get? I have lets say 10 jobs connected to each other, if a single job fails I want all the jobs to do a rollback, so where in should I put the rollback and commit?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Rathi&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 11:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313075#M83967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T11:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback/Commit a job with serial and parallel connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313076#M83968</link>
      <description>&lt;P&gt;You should put it at the complete end of the main job, and maybe track a status variable to say whether an error happened or not. &amp;nbsp;Depending on the status variable you will call commit or rollback on all the logic.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313076#M83968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T15:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rollback/Commit a job with serial and parallel connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313077#M83969</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying this and have a few questions&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I create a main job and set the tmysqlconnection and give it the name mysql_shared_db. Now in the child job I pull another tmysqlconnection and just give the details of the main connection in the main job i.e., mysql_shared_db. Now, when I pull a tmysqlinput in the child job and use the mysql_shared_db details, the connection is not recognized.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The below picture is the main job and below that is the child job. May I please know what is my mistake here?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="main job" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvID.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154976i8856EC620C109AD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvID.png" alt="0683p000009LvID.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;main job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="child job" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvFT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129573i3CE2E93623594DE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvFT.png" alt="0683p000009LvFT.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;child job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Rathi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 11:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rollback-Commit-a-job-with-serial-and-parallel-connections/m-p/2313077#M83969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T11:17:33Z</dc:date>
    </item>
  </channel>
</rss>

