Asked By Pavana Kumari
04-Nov-09 03:09 AM

Hi,
I have a scenario where i have to debatch the multiple sets of records into the single sets of records.
The input file is like this:
Record1
Record2
Record3
Record3
Record4
Record5
Record4
Record5
Record1
Record2
Record3
Record3
Record4
Record5
Record4
Record5
Record4
Record5
Record4
Record5
Record4
Record5
Record1
Record2
Record3
Record3
Record4
Record5
Record4
Record5
Record4
Record5
Record4
Record5
I sould get the output as 3 different files as:
File1:
Record1
Record2
Record3
Record3
Record4
Record5
Record4
Record5
File2:
Record1
Record2
Record3
Record3
Record4
Record5
Record4
Record5
Record4
Record5
Record4
Record5
Record4
Record5
File3:
Record1
Record2
Record3
Record3
Record4
Record5
Record4
Record5
Record4
Record5
Record4
Record5
For now, I have a FlatFile Schema that validates the Incoming file structure.
As of my understanding from the blogs, I think that there should be other schema defined to address as the Document schema in the Rcv. Pipeline where the debatching happens and multiple files get generated.
I have to apply the map on this independent schema to transform it into the 810 EDI message.
Please help me on this!
Thanks,
Pavana