Menu

CodeGeneration

Bruce Martin
Attachments
GenCbl2Json2-or8.png (21408 bytes)
GenCbl2Json3-or8.png (8365 bytes)
GenCbl2json1-or8.png (7136 bytes)

CobolToJson Code Generation

The Recordditor and ReCsvEditor`
have Code Generation options for CobolToJson. The idea is ou supply the
Cobol Copybook and a sample data file and the programs will generate sample
programs to convert the Cobol data to Json

Generating code

  • In the RecordEditor / ReCvEditor take the **Generate >>> Java JRecord code for Cobol option.

screen1

  • Enter the Cobol Copybook and sample Data file. Then select the
    Generate >>> Cobol to Json option.

  • If generating java, enter the package id and then hit the generate button.
    If generating bat/shell scripts you do not have the option to enter the package id