Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  Buy Now
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
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 Ltd. of Beijing 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 © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap