<?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 Execute stored proc when two separate subjobs succeed in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Execute-stored-proc-when-two-separate-subjobs-succeed/m-p/2376199#M138426</link>
    <description>&lt;P&gt;I'm new to Talend.&lt;/P&gt;&lt;P&gt;I am replicating two database tables from the source to two local staging tables. Each process is in its own independent subjob and multi-thread is turned on.&lt;/P&gt;&lt;P&gt;When both subjobs complete successfully, I want to execute a stored procedure, but don't know how to determine that both subjobs completed successfully.&lt;/P&gt;&lt;P&gt;I've tried on subjob ok, linked to the proc connector, but only one subjob will link.&lt;/P&gt;&lt;P&gt;I've tried on subjob complete, but the proc will execute when only one subjob completes.&lt;/P&gt;&lt;P&gt;I looked into the tPostJob connector, but it sounds like it will execute even if one or both subjobs fail.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2018 04:02:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-01T04:02:45Z</dc:date>
    <item>
      <title>Execute stored proc when two separate subjobs succeed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-stored-proc-when-two-separate-subjobs-succeed/m-p/2376199#M138426</link>
      <description>&lt;P&gt;I'm new to Talend.&lt;/P&gt;&lt;P&gt;I am replicating two database tables from the source to two local staging tables. Each process is in its own independent subjob and multi-thread is turned on.&lt;/P&gt;&lt;P&gt;When both subjobs complete successfully, I want to execute a stored procedure, but don't know how to determine that both subjobs completed successfully.&lt;/P&gt;&lt;P&gt;I've tried on subjob ok, linked to the proc connector, but only one subjob will link.&lt;/P&gt;&lt;P&gt;I've tried on subjob complete, but the proc will execute when only one subjob completes.&lt;/P&gt;&lt;P&gt;I looked into the tPostJob connector, but it sounds like it will execute even if one or both subjobs fail.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 04:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-stored-proc-when-two-separate-subjobs-succeed/m-p/2376199#M138426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T04:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Execute stored proc when two separate subjobs succeed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-stored-proc-when-two-separate-subjobs-succeed/m-p/2376200#M138427</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You need for this use case two jobs. The parent job is your mentioned jobs for the start and the second job contains the two subjobs.&lt;/P&gt;
&lt;P&gt;Parent job:tRunJob--&amp;gt;onsubjobok--&amp;gt;stored procedure&lt;/P&gt;
&lt;P&gt;Child job: subjob1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subjob2&lt;/P&gt;
&lt;P&gt;Let us know if it is OK with you.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 07:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-stored-proc-when-two-separate-subjobs-succeed/m-p/2376200#M138427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T07:51:51Z</dc:date>
    </item>
  </channel>
</rss>

