Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.202
  HXTT Cobol 5.0.202
  Buy Now
  HXTT DBF 7.1.203
  HXTT Excel 6.1.206
  HXTT Json 1.0.174
  HXTT Paradox 7.1.202
  HXTT PDF 2.0.202
  HXTT Text(CSV) 7.1.202
  HXTT Word 1.1.202
  HXTT XML 4.0.203
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Cobol
COBOL data and copy file
Ed Thompson
2014-02-04 07:24:40.0

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?
Re:COBOL data and copy file
Ed Thompson
2014-02-04 07:30:25.0
I have sent an attachment with the sample file by email.
Re:Re:COBOL data and copy file
HXTT Support
2014-02-04 18:59:06.0
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.

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap