Download Latest Version cb2xml_Version_1.01.4.zip (2.2 MB)
Email in envelope

Get an email when there's a new version of COBOL copybook to XML converter

Home / cb2xml / 1.01.2
Name Modified Size InfoDownloads / Week
Parent folder
ReadMe_cb2xml_1.01.2.md 2021-06-09 4.5 kB
ReadCopybook_v1.01.2.zip 2021-06-09 17.0 kB
cb2xml_Version_1.01.2.zip 2020-12-14 2.2 MB
Totals: 3 Items   2.2 MB 1

Cb2xml version 1.01.2

Chanages include: * Better handling of Concurrent processing * Several minor changes

Uses of cb2xml

  • Retrieve Cobol-Copybook schema details in the form of Java classes
  • Convert a Cobol Copybook to an equivalent Xml file description
  • Convert a Cobol Data file to Xml file (xml2dat program).
  • Convert a Xml file to a Cobol Data (dat2xml program).

The Cobol Copybook to Xml is used in several other projects + several commercial packages to analyse Cobol-Copybooks.

The Cobol-to-Data and Data-to-Copybook programs are fairly limited, they can only handle text files with character / edited-numeric copybooks, no binary data etc.

Downloads

  • cb2xml_Version_1.01.2.zip - Full cb2xml package includes source and examples
  • ReadCopybook_v1.01.2.zip - A simple class to read COBOL copybooks and expand Basic COBOL copy statements It does not support copy replacing

Changes (1.01.2)

  • For Groups elements, change the Display Length to the sum of the child

Changes (1.01.1)

  • For Groups elements, change the Display Length to the sum of the child
  • In the new (2017 format) add display position tag

Changes (1.01)

  • Better handling of Concurrent processing
  • Several minor changes

Changes (1.00)

  • Introduction of a Builder style program interface.
  • Option of getting Cobol-Copybook details in the form of Java classes (Copybook, Item, Condition classes).
  • Write Xml using StAX (instead of DOM)
  • New Xml format. It is very similar to the old format. The old Xml format is available via the -XmlFormat Classic option
  • Several problem fixes.

Changes (0.95.7)

  • cb2xml now out a justufued tag.
  • changes to the value tag.

Changes (0.95.6)

  • Fix for 88 levels on comp/comp-3 fields
  • Added toTextCopybook.py example program. This will write a "Text" version of a copybook + code to move fields from the "normal" copybook to the "Text" copybook.

Changes (0.95.5)

  • Fix for position after redefines.
  • Added ObscureCobol example program. It will Obfuscate a Cobol copybook.

Changes (0.95.4)

  • Added support for the use of Reader (instead of stream) in the library
  • Added -font and -indentXml options to the cb2xml batch program
  • Changes to examples for running on linux

Changes (0.95.3)

  • Fix for usage specified at the Group Level
  • Fix for dropping quotes in value tag
  • Added support continuation of value across multiple lines
  • New JAXB jar for accessing cb2xml - Xml.
  • Added examples in Ruby, JRuby, Jython and Groovey. Updated python example.
  • Added 2 new Xml tags: editted-numeric and inherited-usage.
  • Updated documentation.

Changes (0.95.2)

  • Fix for USE_SUPPLIED_COLUMNS option (patch's 2 - Patch 2)

Changes (0.95.1)

  • Created a new class Cb2Xml2 which is like the Cb2Xml class except it does not trap errors !!!
  • Minor improvements in the error messages from the Cobol Parser.
  • Created DTD and Xsd schemas for the Xml created by cb2xml. These can be used to generate classes for c#, java etc.
  • Created java - Jaxb example programs for processing cb2xml Xml using java and jaxb.
  • Created python program to print cb2xml Xml contents .

Changes (0.95)

  • improved support for P picture character, new assumed digits tag + Scale can be negative (due to P picture option).
  • Introduced constant class for the attributes used by Cb2xml. This allows other projects to integrate better with cb2xml
  • Most methods accept stream as well File (Feature request 1)
  • Support for Hex literals (patch 1)
  • Support for sync keyword
  • Fixed issue with fields starting with numbers
  • Fixed issue with comments at start of copybook in dat2xml and xml2dat
  • Fixed issue with "anonymous" REDEFINES (problem 12)
  • Fixed issue with sign separate (problem 6)
  • Option to pass start/end columns to the CobolPreprocessor (instead of using the cb2xml.properties file).
  • Added some basic Automated Tests, this will allow regular releases in the future.
  • dat2xml - trim numbers
  • dat2xml - Fixed issue with occurs (problem 4 and 10)
  • xml2dat - Changed to set field to spaces (when tag is absent in the Xml and no initialize is set). (problem 11).
  • xml2dat - fix for when incoming data is not the expected cobol length
  • xml2dat - changed to handle multiple records
Source: ReadMe_cb2xml_1.01.2.md, updated 2021-06-09