Hi Xi experts,
I have the following structure
<root node>
<File Header>1.1
<batch>1....n
<Batch Header>1.1
field1
field2
<Detail Record>1...n
field1
field2
<Addetional Record>1....n
field1
field2
<batch Total>1.1
field1
field2
<File Trailer> 1.1
My requirment is I have to count the number of 'detail record" and "additional record' for a particular bacth. And there is no key field in addtional record on the basis of that i can correlate the "addtional record" with a particular batch.
this Detail record and additional record can repeat for a single batch and further batches can repeat.
File can contain multiple batchs, and one single batch can cotain multiple Detail and addtional record
I need to read flat file on sender side and need to do FCC for the above structure.
Can any body please tell me how can i achieve this.
Thanks
Sachin Sharma