Home / CobolToXml / Version_0.81.4
Name Modified Size InfoDownloads / Week
Parent folder
CobolToXml_0.81.4a.7z 2016-12-07 1.3 MB
ReadMe_0.81.4.md 2016-12-07 1.9 kB
CobolToXml_0.81.4.7z 2016-11-14 866.9 kB
Totals: 3 Items   2.1 MB 0

Cobol To Xml 0.81.4a

This project will convert a Cobol Data File To/From a Xml file. The project offers both a batch and java/JVM interface. This project grew out of the JRecord project.

Downloads

  • CobolToXml_0.81.4.7Z
  • CobolToXml_0.81.4.7Z

Usage

../lib/Cobol2Xml.bat   -cobol G:/Users/BruceTst01/RecordEditor_HSQL/CopyBook/Cobol/DTAR020.cbl ^
                           -fileOrganisation FixedWidth ^
                           -font cp037 ^
                       -input  G:/Users/BruceTst01/RecordEditor_HSQL/SampleFiles/DTAR020.bin   ^
                       -output G:/Users/BruceTst01/RecordEditor_HSQL/SampleFiles/DTAR020.bin.xml

or in java

JRecordConstantVars constants = Cobol2Xml.JR_CONSTANTS;

Cobol2Xml.newCobol2Xml("G:/Users/BruceTst01/RecordEditor_HSQL/CopyBook/Cobol/DTAR020.cbl")

                                 // Cobol Options
                 .setFileOrganization(constants.IO_FIXED_LENGTH)
                 .setDialect(constants.FMT_MAINFRAME)               
                 .setSplitCopybook(constants.SPLIT_NONE)      
                 .setFont("cp037")

      .cobol2xml("G:/Users/BruceTst01/RecordEditor_HSQL/SampleFiles/DTAR020.bin", 
                 "G:/Users/BruceTst01/RecordEditor_HSQL/SampleFiles/DTAR020.bin.xml");

Changes

Version 0.81.4a

  • Added support for formating the output (in particular adding +(or -) to all numerics. A new option -formatText usePlus has been added.

Version 0.81.4

  • Fix for mplex Cobol Occurs Depending
  • added pom files

Version 0.81.3

  • Changes to work with JRecord 0.81.3
  • Support for complex Cobol Occurs Depending

Version 0.81.1

  • Initial version
Source: ReadMe_0.81.4.md, updated 2016-12-07