cancel
Showing results for 
Search instead for 
Did you mean: 

File Content Conversion Problem

Former Member
0 Kudos

Hi,

In my File Sender Adapter, I read in a CSV file with 17569 rows in it. The first row is header information, the rest are detailed records. When I set the recordset structure to Header, 1, DetailRecord, * there are over 122000 records in the payload. When I set it to Header, 1, DetailRecord, 1 there are 17571 but I get an error message

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

I've tried using .additionalLastFields and .missingLastfields

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

For Sender

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

For Receiver:

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Regards

Hemant

Award points if find helpful

Answers (0)