[resolved] pb input/output subjob

One Star

[resolved] pb input/output subjob

hello,
i'm reading data from a tfileinputDelimited, which has 6 lines.
then i transfer these 6 rows to a subjob (using a context String variable, who concatenate the  columns data: str1 || str2 || str3....).
Then, in the child job, i use a tbufferoutput to get  the string;
and finally i get it from the parent job.
My problem:
there are 6 rows who are entering in the child job, but only one row who exit from it (the last entry in the tfileDelimited). 
-Why?
-how can i do to get 6 rows from my child job?

Accepted Solutions
One Star

Re: [resolved] pb input/output subjob

SOLUTION: USE THE MAIN LINK, INSTEAD OF "ON SUBJOB OK""
(and don't forget, in advanced setting, to check  "propagate the child result to the output schema ")

All Replies
Seventeen Stars

Re: [resolved] pb input/output subjob

hi Khaled501,
need more informations about your jobs.
thanks to send some screenshoot aout it.
One thought : if you're got only the last row, it's often due to some iteration or writing job using iteration in file without append mode.
regards
laurent
One Star

Re: [resolved] pb input/output subjob


here's my screenshot
Seventeen Stars

Re: [resolved] pb input/output subjob

what about TEST1 child job ?
from which source are you reading data ?
in your (father) job you propagate data in a tjavarow but any output flow (you are using a trigger on component ok)
regards
One Star

Re: [resolved] pb input/output subjob


One Star

Re: [resolved] pb input/output subjob

SOLUTION: USE THE MAIN LINK, INSTEAD OF "ON SUBJOB OK""
(and don't forget, in advanced setting, to check  "propagate the child result to the output schema ")