cancel
Showing results for 
Search instead for 
Did you mean: 

Only 1 Header Line in all output File

Former Member
0 Kudos

Hi All,

I have a requirement.

Scenario:-File to File

Suppose 10,000 Records I am getting in 1 file from sender  which I cant processed at one time so I have divided 10,000 Record in 5 part(dividing by 2000 record per file)

I want only first file should carry the Header line and remaining file should not carry the header Line.As of now all my file which I have divided are carrying header line at the top.

I want 1 file with Header Line and remaining 4 with without  Header line

Regards,

Shikha

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi Sikha,

Are you dividing the file in sender File adapter (using record per message)?

regards,

Harish

Former Member
0 Kudos

no I have to divide the file file at receiver side FCC.

Former Member
0 Kudos

sorry at Sender Side

Former Member
0 Kudos

Hi Shikha,

Make the Quality of service as "Exactly once in Order" and maintain the queue name also.  Make the Record sets per message as 2000.  then it wont give you header record in every split file.

Is the source file contain only one header record for 10000 records?

Regards,

Santhi

Former Member
0 Kudos

See Header line is at both the side,Sender as well as receiver. I want only 1 output file with Header Line and remaining output file without header line.

Yes,Source file is carrying only 1 header.

Former Member
0 Kudos

Hi Shikha,

Then it will create only one header record on target side.

On source file communication channel,  do the config as EOIO with the queue name and Record sets per message  as 2000

On Target side,  select File Construction mode as Append.

Regards,

Santhi