October 2013
Beginner to intermediate
270 pages
5h 41m
English
This recipe shows how we can use the return codes from a child job to control the process flow in a schedule more effectively.
Open the job jo_cook_ch11_0050_ChildReturnCodes. You will see that it is a simpler version of the job from the previous exercise.
We will begin by printing the return code from a child job.
Printing return code
tJava component with the following code:System.out.println("Return code is: "+((Integer)globalMap.get("tRunJob_1_CHILD_RETURN_CODE")));tJava component using OnSubjobOk.0.Setting the return code
tDie component, and link ...Read now
Unlock full access