How to get dynamic job name in trunjob component

One Star

How to get dynamic job name in trunjob component

hi,
I have 10 jobs which perform insert and update operation into database.
Now time has come to run all these jobs alternatively.so i thought of using trunjob component.
here am unable to place jobname dynamically.
can any one tell me how to solve my problem.
Am using only trunjob component.even i see documentation it has not helped my problem
appreciate for quick response
Thanks
Regards,
Rekha
Eight Stars

Re: How to get dynamic job name in trunjob component

problem got solved .but in tfixedflowInput i need to enter the jobnames manullay.
is their any other alternate for this
And also am unable to have context parameters dynamically
am using
tFixedflowInput--main---->tflowtoiterate-----iterate---->trunjob
Highlighted
One Star

Re: How to get dynamic job name in trunjob component

You can define the Context Variable and pass context variable as an input your job using context_param option. This way you can dynamically pass the values to your program. 
Other way will be to put the name of the job in a file and read that file in your job. You can either manually update the file or have some process update it.
let me know if you have any confusion in implementing these options.
Eight Stars

Re: How to get dynamic job name in trunjob component

Thank you for reply.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now