Is the Header/Trailer datacontent coming in the same line for eg.??
##HEADER01 233 4456 67789560000K 455551867860998789999999 002
##TRAILER999003300000003
Is the record delimiter is newline or Carriagereturn??
If both the above conditions met then create the schema accordingly…
choose the delimited option and set record parser as newline and choose StartPosition 0
And RecordDefinition (maxrepeat=single)
(##HEADER)
----create Field Definitions (specify Start/End positions)
---->(##TRAILER)(maxrepeat=single)
-------->create Field Definitions (specify Start/End positions)
I assume you are getting detail lines in between Header/Trailer records??
HTH,
RMG
#Integration-Server-and-ESB#edi#webMethods