EGL Development User Group

Expand all | Collapse all

Calling EGL/cobol from zconnect

  • 1.  Calling EGL/cobol from zconnect

    Posted Thu May 12, 2022 09:09 AM
    hello

    We have recenlty purchased IBM zos connect to bring APIs on our mainframe.
    It works fine but now, we'd like to call our existing EGL/Cobol CICS programs;
    and it always failed  on EXEC CICS ASSIGN TERMCODE  with INVREQ

    Has anyone ever tried zconnect to call EGL ?

    ------------------------------
    Jean-François LEYRIT
    ------------------------------


  • 2.  RE: Calling EGL/cobol from zconnect

    Posted Thu May 12, 2022 09:41 PM
    Hi Jean,

    Do you want to call Egl/Cobol from native Cobol Cics or another Egl/Cobol ?
    From Native Cobol you must use EXEC CICS XCTL ... remember when generated Cobol the default transfer commarea is POINTER and nota DATA.

    ------------------------------
    Hsieh YUAN
    ------------------------------



  • 3.  RE: Calling EGL/cobol from zconnect

    Posted Fri May 13, 2022 02:15 AM
    Hi Hsieh 

    in fact, we need to call EGL/cobol  as a rest API , using IBM zos connect.


    ------------------------------
    Jean-François LEYRIT
    ------------------------------