Home / CobolToXml / Version_0.81.1
Name Modified Size InfoDownloads / Week
Parent folder
CobolToXml_0.81.1.zip 2016-07-04 1.1 MB
ReadMe_0.81.1.md 2016-07-04 1.5 kB
Totals: 2 Items   1.1 MB 0

Cobol To Xml 0.81.1

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.1.zip

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.1

  • Initial version
Source: ReadMe_0.81.1.md, updated 2016-07-04