Passing a value from a parent Job to a child Job
Passing a value from the parent Job to the child Job is a common real world requirement. This
article serves as a best practice guide.
In this example, you read data from a text file in a parent Job and pass fields from each row to the child Job. The data is used in the child Job.
Create and configure the parent Job
Before you begin
- You have created a text file, in this example in.text.
id;name;scope 1;Shong;98 2;Ross;90 3;Tom;55 4;Patrick;99 5;Pedro;90
Procedure
Create and configure the child Job
Procedure
Configure the tRunJob component
Before you begin
- You have defined the two context variables in the child Job.
Procedure
Results
The following results print to the console.