Skip to Content
0
Aug 04, 2016 at 05:51 AM

Error in File Content Conversion Sender

31 Views

Hi All,

I am getting below error in my sender file channel:

"Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 3: missing structure(s) before type 'HeaderRecord' "

My data type structure is:

HeaderRecord (0..unbounded)

LineRecord (0..unbounded)

TrailerRecord (0..1)


I have defined my FCC as below:


Recordset Structure: HeaderRecord,*,LineRecord,*,TrailerRecord,1


I have kept Record Sequence as "Variable" as File structure would be:

HeaderRecord

LineRecord

HeaderRecord

LineRecord

LineRecord

TrailerRecord


I've gone through many post but still getting the same error. Please help.


Regards,

Aamir