Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.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 Lab of Xi'an 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
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap