IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Best method for mainframe to cloud call

    Posted 05/26/26 02:44 PM

    Hi

    I've picked up a new task this is:
    Replace an existing COBOL CICS solution with a Cloud based solution, however the data will still be residing on the mainframe

    Steps to take would be

    Existing COBOL processes > pass data to CICS -- but now send that data to built Cloud based solution

    Take existing COBOL dataset > convert to JSON

    Call Cloud API with the JSON payload

    Convert response back to COBOL

    Existing COBOL processes >

    I've seen JSON Parser / zOS Connect and now Data Power Gateway

    Which is the best route to take on this?

    Thanks in advance

    Steve



    ------------------------------
    Steve Millward
    ------------------------------


  • 2.  RE: Best method for mainframe to cloud call

    Posted 05/27/26 11:13 AM
    Edited by Wayne Campos 05/27/26 11:15 AM

    Steve,

    It sounds like you want to call a REST API from COBOL. This is the way I do it: https://www.ibm.com/docs/en/entirex/12.1.0?topic=scenarios-calling-rest-from-cobol

    The data conversion (EBCDIC to and from ASCII) is automatically handled for you. The data formatting (COBOL to and from JSON) is automatically handled for you.



    ------------------------------
    Regards,
    Wayne Campos
    ------------------------------