Complex Fixed length FlatFile

hi experts ,
i am working with a flatfile which has fixed length records. the format of the flatfile looks like this
H000000 (once)
A000000 (once)
B000000 (once)
C000000AS(None or once)
C000000AX (None or once)
D000000MK (None or Can occur multiple times)
D000000Mx (None or CAn occur multiple times)
i used fixed length and specified the record identifier as H,A,B,C,D which starts from the same location in the file ,say starts from pos 10. but as we have two versions os C and D ,i dont know how to recognise them ,becouse the number after C and D keeps changing those are not static. if they are static i could have used record identifier as C00000AX etc…
any thoughts on how to create the schema for this kind of file. its a bit complex ,any inputs are appreciated.
thanks
sri

Is the layout of the C######AS record different from the layout of the C######AX record? Similarly, is the layout of the D######MK record different from the layout of the D######MX record?

  • Percio