z/OS Connect Enterprise Edition

Expand all | Collapse all

Converting COBOL REDEFINES To and from JSON

  • 1.  Converting COBOL REDEFINES To and from JSON

    Posted Tue October 08, 2024 04:21 AM

    Hi everyone,

                      I am trying to find an example of converting a COBOL copybook containing   REDEFINES statements to JSON and also  an example of converting JSON data to a COBOL copybook containing redefines.

    If anyone can point me to sample code or z/OS Connect definitions it would be very helpful. Currently I am getting errors when I try to do it.

    Thanks,

    Alison.



    ------------------------------
    Alison Gabriel
    ------------------------------


  • 2.  RE: Converting COBOL REDEFINES To and from JSON

    Posted Wed October 09, 2024 01:10 PM

    There have been updates to JSON parsing in recent versions of IBM COBOL. What COBOL version are you using, 6.2, 6.3 or 6.4.



    ------------------------------
    David Coblentz
    ------------------------------