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
3 REPLIES
Seven 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
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.
Seven Stars

Re: How to get dynamic job name in trunjob component

Thank you for reply.