October 2013
Beginner to intermediate
270 pages
5h 41m
English
In this recipe we will show how return codes can be set in a child job and used in a parent, without having to kill the child process.
Open the job jo_cook_ch11_0060_childReturnCodesNoDie. This job is the end state of the previous recipe.
The first thing we need to do is add the return code value to a buffer for the parent job to pick up.
Buffering the return code
task_1 and replace the tDie component with a tFixedFlowInput component.Integer column to the tFixedFlowInput component called returnCode.4.tBufferOutput component and add a flow from the tFixedFlowInput component to it.Capturing and storing the return code in the parent
Read now
Unlock full access