Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Rjadhav
Contributor
Contributor

How to use common generic TALEND program

Hi All,

I​ have developed one common job A . It is FTP server check job. In this job I am using host,user id,pass,port.context Variables.

I need to use same job in other jobs B,C,D etc. I want to know how to call job A and pass the context value dynamically in TALEND.

So due to this j can save my time to write same code multiple times.

It would be great if you share the cod screen shot for my reference. ​

Regards,

Rahul​

Labels (2)
3 Replies
Anonymous
Not applicable

Hello,

If you want to return a value or rows from a child Job to the parent Job for further use, please take a look at this community knowledge article: https://community.talend.com/s/article/Returning-a-value-from-a-child-Job-to-the-parent-Job-DqbEu

If you want a value from the parent Job to the child Job, here is another article about: https://community.talend.com/s/article/Passing-a-value-from-a-parent-Job-to-a-child-Job-OPRy5

Best regards

Sabrina

manodwhb
Champion II
Champion II

Anonymous
Not applicable

Hi

You can use tRunJob to call another job in a job, check the 'transmit the whole context' box on tRunJob if the main job and child job have the same context variables and you want to pass the context value automatically.

 

The following articles may be useful for you.

 

https://help.talend.com/reader/1eXt7xgFLapJl7Izc3vxQQ/9_gEJdfccoa5Zm45WZQo~A

https://community.talend.com/s/article/Passing-a-value-from-a-parent-Job-to-a-child-Job-OPRy5

 

Regards

Shong