I am able to pass context parameters set dynamically in a jave file from one job to another subjob. But this is not working when i pass it to a sub-sub job......... Any other way out?
You can set contexts via tjava using the following example:
context.myContext = "myValue"
to pass it to a subjob you can use tRunJob component with the Transmit Whole Context option or the individual context paramaters options.
Hope this is what you're looking for.
i tried using tContextDump also .... but it only works for pre configured context parameters ... for a context variable being set dynamically in tJava , it does not work !! any workarounds here ?
I can't any more find where I came up with this answer but apparently context values are stored in more than one place and tContextDump picks up only those values defined when the job begins so if you set context values dynamically using tJava you need to follow with the following statement so that tContextDump will use the new values: