Five Stars

Apply context to children jobs option?

Can anyone help me to understand this option when generating unix/windows batch of a talend main job? 

1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: Apply context to children jobs option?

Please send the image again it is not attached properly.
If your talking about transmit whole context check box it will overwrite context values existed in the sub job.
If you are satisfied with my solution please accept it as a solution. Thanks!!
3 REPLIES
Six Stars

Re: Apply context to children jobs option?

Can you describe ur usecase in detail?? 

But if your talking about pass context in children job one of the best way is 

1. Create a main job and call the child job using trun job.

2. Create a file with all the context parm using tfile delimetered and tcontext components load the context param. 

3. And pass the file path using trun job in main job

Five Stars

Re: Apply context to children jobs option?

Thanks BlueMoon for your response.

In TRunJob component , there exists an option called *transmit whole
context *and this option is used to pass the context param values from
parent job to sub job.


Similarly , I want to know what is the purpose of this option highlighted
below : (As of now , I am keeping it checked whenever i build a job to
batch) .


[image: Inline image 1]
Six Stars

Re: Apply context to children jobs option?

Please send the image again it is not attached properly.
If your talking about transmit whole context check box it will overwrite context values existed in the sub job.
If you are satisfied with my solution please accept it as a solution. Thanks!!