<?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: Pass Tcontextload values to parent job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246353#M31900</link>
    <description>&lt;P&gt;Hi akumar,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please elaborate? In the trunjob, i checked the option "Transmit whole context" and "Die on child error" and i am not passing any context parameters. Next, in the tjava component you said i should have&amp;nbsp;&lt;SPAN&gt;context.variablename = newvalue. what do you mean by new value? I didn't get you. When i use the code&amp;nbsp;context.AWS_accountid = row3.AWS_accountid in tjava, it says aws_accountid variable cannot be resolved or is not a field&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2019 22:21:42 GMT</pubDate>
    <dc:creator>desanip</dc:creator>
    <dc:date>2019-04-09T22:21:42Z</dc:date>
    <item>
      <title>Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246351#M31898</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to load database parameter values from an external file to tcontextload&amp;nbsp; and then used a&amp;nbsp; tBufferOutput in the child job to push the informations Iwant to return to the parent job.&lt;/P&gt;
&lt;P&gt;The schema of the&amp;nbsp;&lt;SPAN&gt;tBufferOutput&amp;nbsp;is be the same as the one which is declared&amp;nbsp;for the tRunJob.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;In the parent job i have redshift and aws components that i have to connect to.Can someone tell me how to set context variables in code (in tJava) components?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If someone can send me the job flow or how it should look like, it would be great.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246351#M31898</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2024-11-16T06:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246352#M31899</link>
      <description>&lt;P&gt;In tjava&lt;BR /&gt;&lt;BR /&gt;context.variablename = newvalue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 22:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246352#M31899</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-09T22:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246353#M31900</link>
      <description>&lt;P&gt;Hi akumar,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please elaborate? In the trunjob, i checked the option "Transmit whole context" and "Die on child error" and i am not passing any context parameters. Next, in the tjava component you said i should have&amp;nbsp;&lt;SPAN&gt;context.variablename = newvalue. what do you mean by new value? I didn't get you. When i use the code&amp;nbsp;context.AWS_accountid = row3.AWS_accountid in tjava, it says aws_accountid variable cannot be resolved or is not a field&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 22:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246353#M31900</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-04-09T22:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246354#M31901</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLrIAAW"&gt;@desanip&lt;/A&gt;&amp;nbsp;,chekc the below links,&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/xH2TyYr_AmQnKwOYlqVCvA" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/xH2TyYr_AmQnKwOYlqVCvA&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/article/ka03p0000006EYYAA2" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Returning-a-value-from-a-child-Job-to-the-parent-Job/ta-p/21571&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 06:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246354#M31901</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-04-10T06:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246355#M31902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLrIAAW"&gt;@desanip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While assigning the value&amp;nbsp;&lt;SPAN&gt;context.AWS_accountid = row3.AWS_accountid could you please try using tjavarow instead of tjava and see if it works.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pratheek Manjunath&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 09:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246355#M31902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-10T09:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246356#M31903</link>
      <description>&lt;P&gt;in ParentJob&amp;nbsp;&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="TalendImage.JPG" style="width: 543px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3di.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142021i86DF7C4C18D895AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3di.jpg" alt="0683p000009M3di.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 10:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246356#M31903</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-10T10:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246357#M31904</link>
      <description>&lt;P&gt;Thanks for the replies everyone.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am afraid i still dont get it. All i am trying to do is to return the values of the child job to parent job. In job4 i am bringing the database conenction parameters as a key/value pair and passign to tbuuferout. in job3 I am using trunjob to call the child job and then use a tjavarow to set the context so that i can use them in s3 and redshift components. In the trunjob, do i just check "Transmit whole context" and it should take care of everything?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the tjavarow, i am setting contexts like this "context.AWS_accountid = input_row.AWS_accountid". Is this correct?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Job3 screenshot has the parent job.&lt;/P&gt; 
&lt;P&gt;Job4 is the child job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv7d"&gt;job3.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv7n"&gt;job4.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 10 Apr 2019 14:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246357#M31904</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-04-10T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246358#M31905</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"Transmit whole context"&amp;nbsp; is to transfer context from Parent to child not otherway around.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://garpitmzn.blogspot.com/2012/11/transmit-whole-context-from-parent-to.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://garpitmzn.blogspot.com/2012/11/transmit-whole-context-from-parent-to.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 14:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246358#M31905</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-10T14:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246359#M31906</link>
      <description>&lt;P&gt;Ok abhishek. In that case what should i be passing the context param section of trunjob? Should i assign context variables in tjavarow? If so, can you please show me how?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience and prompt replies&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 15:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246359#M31906</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-04-10T15:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246360#M31907</link>
      <description>&lt;P&gt;I am not sure what is your use case but&amp;nbsp;if you want to transfer context from child to Parent , you can simply follow the screen shot which I gave above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Child&amp;nbsp;&lt;/P&gt;&lt;P&gt;tContextDump -- tBufferOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Parent -&lt;/P&gt;&lt;P&gt;tRunjob ( same schema as&amp;nbsp;tContextDump ) -- tContextLoad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 15:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246360#M31907</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-10T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246361#M31908</link>
      <description>&lt;P&gt;I will try to explain to the best of my abilities:&lt;/P&gt;&lt;P&gt;I am trying to bring in the context from outside of the talend job(Storing all the context in properties file). So i am loading all the context using tcontextload and then using tcontextdump and then encoding the password and then to ttbufferout . I am fine until here. So i want to make this a resuable job and use this in all the exising talend jobs i have and use the context in s3 and redshift components.. So i am using trunjob in the parent job. I have not checked the "transfer all context".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From here on, I am having the problem. You said connect the tcontextload to trunjob in parent, I did the same and it doesn't seem to work. Do you think what you see in the data flow screenshot is, right?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv82"&gt;job5.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LukR"&gt;job7.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 10 Apr 2019 16:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246361#M31908</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-04-10T16:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tcontextload values to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246362#M31909</link>
      <description>Thanks aravind and everyone who replied.&lt;BR /&gt;The job is working now as expected.&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Apr 2019 02:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-Tcontextload-values-to-parent-job/m-p/2246362#M31909</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-04-11T02:47:53Z</dc:date>
    </item>
  </channel>
</rss>

