cancel
Showing results for 
Search instead for 
Did you mean: 

FCC header issue at Receiver side

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member183816
Active Participant
0 Kudos

Most feasible solution will be writing adapter module for removing header while appending, if you don't want to introduce mapping in your scenario.

Former Member
0 Kudos

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

Former Member
0 Kudos

Receiver side we are getting the duplicate header but sender side only 1 header is coming

former_member186851
Active Contributor
0 Kudos

Ravi so all files will have same header values?

former_member191435
Contributor
0 Kudos

Can you please elaborate with images what you are getting and what do you want

Former Member
0 Kudos

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

Ryan-Crosby
Active Contributor
0 Kudos

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

former_member186851
Active Contributor
0 Kudos

Hello Ravi,

Since your merging multiple records it will have multiple headers.

Why dont get the first or required header at the mapping level.

Former Member
0 Kudos

Hi Raghu,

We are not doing any mapping here.

Please suggest some other way. And if you are saying at mapping level, please elaborate more how to do it.

Regards,

Ravi

former_member186851
Active Contributor
0 Kudos

Ravi,

So ur scenario is bypass without mapping right?

Just a pick and drop of file?

Former Member
0 Kudos

yes bypass scenario.