Exam4Training

How can you achieve this requirement?

You have two Talend Jobs. Job A need to call Job

B. After Job B is complete, processed data stored in the tBufferOutput buffer memory must be transferred back to Job A.

How can you achieve this requirement?

A. Select the Transmit whole context in the basic settings of the tRunJob when calling Job B from Job A.

B. Select the Transmit whole context in Advanced settings of the tRunJob when calling Job B from Job A.

C. Select the Propagate the child result to output schema in Advanced settings of the tRunJob when calling Job B from Job B.

D. Select the Propagate the child result to output schema in the Basic settings of the tRunJob when calling B from Job A.

Answer: C

Explanation:

To call a different job within a job you are developing, you can use the tRunJob component. This component allows you to execute another job as a subjob within a parent job. To pass the parameters to the job you want to call, you can use the context parameters. Context parameters are variables that can store values that can be changed at runtime or between different contexts. You can define context parameters in the Contexts tab of your job and assign them values for each context. You can also pass context parameters from the parent job to the child job by using the Context Param tab of the tRunJob component. This way, you can parameterize the properties or expressions of the child job with the values from the parent job.

To transfer processed data stored in the tBufferOutput buffer memory back to the parent job, you need to select the Propagate the child result to output schema option in the Advanced settings of the tRunJob component. This option allows you to retrieve the data from the tBufferOutput component of the child job and send it to an output row of the parent job. The tBufferOutput component is used to store data in memory without writing it to disk or database. You can use this component to optimize the performance and memory usage of your job.

You do not need to select the Transmit whole context option in either Basic or Advanced settings of the tRunJob component. This option allows you to pass all the context parameters from the parent job to the child job without specifying them individually. This option does not affect the data transfer from the tBufferOutput component. You also do not need to select the Propagate the child result to output schema option in Basic settings of the tRunJob component, as this option is only available in Advanced settings.

Reference: Talend Open Studio: Open-source ETL and Free Data Integration | Talend, [tRunJob properties – 7.3], [tBufferOutput properties – 7.3], [Contexts – 7.3]

Exit mobile version