Hi Everyone,
I need to parse a fixed lenght flat file. The hirerarcy is as follows
+File Header
++Batch Header-1 [Multiple]
+++Detail Record [0]
++++AddRecord -3
++++AddRecord -2
++++AddRecord -3
+++Detail Record [1]
++++AddRecord -2
++++AddRecord -2
++++AddRecord -3
++++AddRecord -3
++++AddRecord -3
++Batch Trailer
[COLOR=#009900]++Batch Header-1
+++Detail Record [0]
++++AddRecord -1
+++Detail Record [1]
++++AddRecord -1
++++AddRecord -3
[/COLOR]
++Batch Trailer
+File Trailer
::>The AddRecord record starts with ‘8’ followed by ‘01’,‘02’,‘03’ indicating the versions , ie records starts with 801 / 802 /803.
::> I have cretaed the FF Dict and schema having record identifier as 801,802,803 and these records are unordered. So what is haapenning is everytime 801/802/803 is occuring it is creating a new list ex -
+++Detail Record [0]
++++AddRecord 3 [0]
++++AddRecord 2 [0]
++++AddRecord 3 [0] X
Expected : -
+++Detail Record [0]
++++8[0]
+++++AddRecord 3 [0]
++++8[1]
+++++AddRecord 2 [0]
++++8[2]
+++++AddRecord 3 [0]
How this can be acheived :
Thanks in advance
Jason
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services