Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
microstratege
Contributor
Contributor

Combination of files

Hi all,

I'm new to Talend and have a simple task I thought to manage with tMap. My thread creates for each record of an input file some lines for an output. Now I need some "Head-lines" at the top and some "foot-lines" at the bottom of the created file. Is it possible to realize it with tMap or have I use two separate file to combine all parts or is there another way.

Kind regards, Detlev

Labels (1)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@microstratege , you need to create three sub flow like below in sequentially by using on Subjob Ok .

 

1) first flow will create the header data in the file

 

2) second flow will write the actually data into the same file,so you need to append the data.

 

3) third flow to populate the footer data to the same file,so you need to append the data.

View solution in original post

2 Replies
manodwhb
Champion II
Champion II

@microstratege , you need to create three sub flow like below in sequentially by using on Subjob Ok .

 

1) first flow will create the header data in the file

 

2) second flow will write the actually data into the same file,so you need to append the data.

 

3) third flow to populate the footer data to the same file,so you need to append the data.

microstratege
Contributor
Contributor
Author

Hi manodwhb,

very short explanation, but it seems I got it.

Thanks.