Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
ashif2
Creator II
Creator II

Apply context to children jobs option?

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

Labels (1)
  • v6.x

1 Solution

Accepted Solutions
Bluemoon
Creator
Creator

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!!

View solution in original post

4 Replies
Bluemoon
Creator
Creator

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

ashif2
Creator II
Creator II
Author

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]
Bluemoon
Creator
Creator

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!!
Zhen1
Contributor
Contributor

just pass the value of variable in context from super job(father job/main job) to sub job(child job).