Home / CobolToXml / Version_0.81.3
Name Modified Size InfoDownloads / Week
Parent folder
CobolToXml_0.81.3.7z 2016-10-13 867.0 kB
ReadMe_0.81.3.md 2016-10-13 1.6 kB
Totals: 2 Items   868.6 kB 0

Cobol To Xml 0.81.3

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.3.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.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.3.md, updated 2016-10-13