One Star

Merging 2 tmaps output data and load into one file in the same job

Hi All,

I am using tMap .
1.From tMap we are distributing data into three groups
2.First and Second groups are loading into the 1st file and 2nd File.
3.For third group, again we are dividing into two groups(Based on the Logic) and we need to merge those two groups and loading into 3rd File(But we are not able to do the merging those two groups,I want merge this 2 groups with in the same job).Please help me on this.
Please find the Attachemnt.
But we are not able to do the merging in the first image after dividing (highlighted blue color).For that we are running a separate job (as highlighted in the red).This scenario causing performance issues because the second job need to be wait until the first one is completed.


Thanks,
2 REPLIES
Moderator

Re: Merging 2 tmaps output data and load into one file in the same job

Hi,
You cannot merge "DEST" and "Orgin" together, which can't be allowed in talend.
Please see the KB article TalendHelpCenter:Can I create a Job with multiple paths from a single source to the same target? for a solution.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Merging 2 tmaps output data and load into one file in the same job

Could you create a third file from the tMap in job1 which is the combination of the two files?