Hi All,
I have a file with format like :
HDR123
4567test
4567test1
TRL456
The problem Im facing is the header and trailer record starts with 2 spaces in the front followed by HDR and TRL.
I used
Header.keyFieldValue HDR
Trailer.keyFieldValue TRL
But the file is not picked in channel monitoring the error is "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 2: missing structure(s) before type 'Header'
Can somebody suggest me how to resolve this issue.
Thanks
Newa