I would like some help to set up the cobol driver with some data and copy files I have been given.
At the moment I am getting parse errors on the Copy Book file.
I have attached a sample with a dat file "customer.dat" and its copy book "cd.lib"
I started by renaming cd.lib to be customer.CPY so it could be read but got parse errors on the copybook.
Unexpected character encountered (lex state 15): 'J'
Would it be possible to look at the copy book and confirm if the cobol driver is able to parse this or if the file format is too unusual?
I have sent an attachment with the sample file by email.
Your sample file has 15890 data rows. Your customer.CPY file is not a copy file, but a Cobol source file with many other information. Because it's not a standard Cobol file, which contains many manual added comment, which is not start at column 73, so that it will failed.
I have sent you a clipped Copy file, which can work with the following connection property:
You need ignoreDirtyData because maybe your data file contains invalid data or invaild data structure defination. You can try to remove ignoreDirtyData, then you will see exception prompt for your invalid data.