You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2016-10-11 10:46:13

lucian.sabau
Member
14 posts

lucian.sabau said:

[resolved] unable to pass parameters from main job to a child job

Hello guys,
I am new in Talend tool. I use Talend Big Data Open Studio 5.5. I try to read some parameters from a file in my main job and pass them to a child job. When I try to add the parameters to my child job, I do not have available the buttons + - in order to add new parameters.

mini_img1.png

Can someone tell how can I solve this? I need to execute the child jobs multiple times, based on my input file from tFileInputDelimited component.

Thank you in advance!
Lucian Sabau

Last edited by lucian.sabau (2016-10-11 10:47:54)

Offline

#2 2016-10-11 11:01:16

shong
Talend Team


shong said:

Re: [resolved] unable to pass parameters from main job to a child job

Hi
You need to define context variables in child job first, please refer to this article about how to pass parameters from main job to a child job.

Regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the global leader of open source data management and application integration solutions!

Offline

#3 2016-10-11 11:57:41

lucian.sabau
Member
14 posts

lucian.sabau said:

Re: [resolved] unable to pass parameters from main job to a child job

Hello,
Unfortunately I didn't succeed after your advice, I also followed the instructions you provided on link. I tried to create the same mainjob and subjob like here ,
but with no success. I receive error: "

Error in the component's properties:Syntax error on token "context", delete this token

f1 cannot be resolved or is not a field

f2 cannot be resolved or is not a field

"

mini_mainjob.png

mini_subjob.png                                                                            



Could it be because of my Talend version? Also I don't have any tab called "Contexts"
Thank you for your answer!
Lucian Sabau

Last edited by lucian.sabau (2016-10-11 11:59:27)

Offline

#4 2016-10-11 14:25:57

shong
Talend Team


shong said:

Re: [resolved] unable to pass parameters from main job to a child job

Hi  
If the Context tab disappears, you can open it by clicking Windows-->Show view-->Talend-->Context, and then define the variables in the Context tab before you use them.

Regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the global leader of open source data management and application integration solutions!

Offline

#5 2016-10-11 15:01:57

lucian.sabau
Member
14 posts

lucian.sabau said:

Re: [resolved] unable to pass parameters from main job to a child job

Hello,

It's working. Thank you very much for your help and patient.
All the best!
Lucian Sabau

Offline

#6 2016-10-11 15:28:50

5janhess2again
Guest

5janhess2again said:

Re: [resolved] unable to pass parameters from main job to a child job

Is there any way to pass jvm parameters to a child job?

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy