hi,
I have a positional flatfile schema to create.
here's how the file looks
abc pqr xyz ---- fixed(1st record 3 fields with 4 length each)
12 12 12 12 -----(4 fields, 4 length each)
12 12 12 ---------( 3 fileds, 3 length each)
12 12 12 12
12 12 12
12 12 12 12
12 12 12
adc pqr ------( 2 fields, 4 length each)
Schema structure :
<Header>
<field1>
<field2>
<field3>
<field4>
</Header>
<Record> ---------------------------- The reocrd needs to repeat in a group with record 1 and record 2 in it.
<Record_1>
<R1field1>
<R1field2>
<R1field3>
<R1field4>
</Record_1>
<Record_2>
<R2field1>
<R2field2>
<R2field3>
</Record_2>
</Record>
<Trailer>
<field1>
<field2>
</Trailer>
The record doesnt repeat instead the next lines are carried on in the trailer record. I am not sure where m messing up.
Help appreciated.
Thanks.