One Star

Log

Hi,
I'm a beginner with Talend and I have a question thatI can't get over:
i have a main job that calls many subjobs.
I want to write only a log file that count the record inserted and updated in every subjob. One row of log for every subjob. 
How can I do this?
Thanks  in advance
Claudio
1 REPLY
One Star

Re: Log

Hello,
Components like tOracleRow and tMysqlOutput creates global variables that holds the number of line inserted/updated/deleted.
You can return this variable to your main job using a tBufferOutput as shown in the screenshot below.
Then in your main job select the option "Copy Child Job Schema" to retrieve the variable that the subjob returns.