Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a main job--->calling a child job---> inside a child job calling another child job. 3 layers of it.
How do I get the 3rd child job global variable information passed to the main job?
to pass data from a child job back to the parent you should use the tBufferOutput component in the child job. A common pattern is to use a tFixedFlowInput-->tBufferOutput combination as the last two components in the job to pass context or globalMap variables back to the parent.
the "copy child job schema" button becomes available in the parent job's tRunJob component once you have the tBufferOutput in the child job. This should copy the schema of the child job tBufferOutput to the tRunJob component. You can then connect it to other components in the parent job using the row connector.
One thing to keep in mind is that you should attempt to limit the amount of data you pass from child to parent. If you find you need to pass a large amount, consider refactoring your child job into a joblet.