on 12-16-2015 9:34 AM
Hi Experts,
I have an issue with header.
At sender side we are splitting the message using record set per message option and at receiver side we are appending the message but multiple header is coming in output file.
I want only one header at the output side.Please suggest.Both side we are using FCC.
Regards,
Ravi
Most feasible solution will be writing adapter module for removing header while appending, if you don't want to introduce mapping in your scenario.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
As per your requirement below is one possible solution that might help you.
Use of OS command Scripts in File adapter .These scripts can be used to check file content duplicate lines. Hope it may help. Please give a try after investigation
Regards,
Keerthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See we have huge file coming from Source System carrying header,we are splilting the file so that file can get processed.
So suppose 1 big file is getting split into 5 file so all will carry header line.Now at receiver side we are doing appending of all the file into 1 file so all files are carrying header lines.So 1 output file is having multiple header line at receiver side
Hi Ravi,
I can think of one way to do it but it requires mapping for it to work. Setup the source interface with two mappings - one for the target header and one for the target data rows - add an interface split and set the option for maintaining order at runtime. In this way you can ensure that you have one header target that will run first and then for however many data splits you have you will keep appending that data to the same file.
Regards,
Ryan Crosby
Hello Ravi,
Since your merging multiple records it will have multiple headers.
Why dont get the first or required header at the mapping level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.