Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

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

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:
properties.setProperty("boundary4source","64");
properties.setProperty("ignoreDirtyData","true");
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




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap