Thursday, 23 May 2013

How to pass data from Child to Parent job in Talend

It is always advisable to divide the complex Talend job to number of sub jobs based on the logic. It is very easy to pass data flow from sub job to main job in Talend. We can make use of Talend's in-built component tBufferOutput to achieve the same. Watch this video for details:

Follow the below steps:

1. In the child Job, connect the output to tBufferOutput component.

2. Now in the parent job (main Job). Right click tRunJob and select Copy child Job schema. This will copy the child job schema to main job.

3.  Now right click tRunJob, Select Row and connect it to tLogRow to see if the data from child job is retrieved. Now you can use this data in your main job as per your logic.

You may also like to read..

No comments:

Post a Comment