API Enablement

  • 1.  ZOSCONNECT REQUESTER PL/I BAQSTUB CEE3204S 0C4 Abend

    Posted Mon September 21, 2020 09:21 AM
    Team

    Trying to get Dynamic Linking working for PL/I (non CICS).
    Statically it works.
    Dynamically it abends with :


    CEE3204S The system detected a protection exception (System Completion Code=0C4).
    From compile unit //'ZOSCONN.B.R300.UI69481.BAQSRCL(BAQWEBT)' at entry point getVerboseOptions at statement 3516 at compile unit offset +000000AE at entry offset +000000AE at address 23E62A46. 

    getVerboseOptions seems to me as internal to BAQSTUB.
    Any idea?
    Thanks!

    code:
    DCL BAQCSTUB EXTERNAL ENTRY OPTIONS(NODESCRIPTOR);
    FETCH BAQCSTUB;
    CALL BAQCSTUB(API_INFO_OPER1,       <==== unchanged call as compared to statically
    BAQ_REQUEST_INFO,
    BAQ_REQUEST_PTR,
    BAQ_REQUEST_LEN,
    BAQ_RESPONSE_INFO,
    BAQ_RESPONSE_PTR,
    BAQ_RESPONSE_LEN);  

    Link:
    INCLUDE SYSLIB(EXPLCBA)
    NAME    EXPLCBA(R) 

    CEEOPTS:
    STACK(128K,128K,ANYWHERE,KEEP,512K,128K)
    POSIX(ON),
    ENVAR("BAQURI=127.0.0.1", "BAQPORT=9082",
    "BAQUSERNAME=MYUSERID",
    "BAQPASSWORD=MYUSERPW",
    "BAQVERBOSE=ON","BAQVERBOSE_OUTPUT=SYSPRINT")     

    Environment:
    IBM(R) Enterprise PL/I for z/OS       V5.R3.M0
    z/OS V2 R3 BINDER
    z/OS Connect 03.00.35
    SYS1.CEE.SBAQLIB(BAQCSTUB) has dates 20200710111738020101. 20200710-1009

    When I copy the LOAD to another LPAR I get

    CEE3204S The system detected a protection exception (System Completion Code=0C4).
    From compile unit //'ZOSCONN.B.R300.UI70538.BAQSRCL(BAQWEBT)' at entry point BAQCSTUB at statement 509 at compile unit offset +000019A2 at entry offset +000019A2 at address 1AE7F35A

    That LPAR has slightly different setup:
    z/OS Connect 03.00.31
    SYS1.CEE.SBAQLIB(BAQCSTUB) with dates 20200710111738020101. 20200710-1009


    BTW no problems with COBOL dynamic linking
                         



    ------------------------------
    Bart Pastoor
    ------------------------------


  • 2.  RE: ZOSCONNECT REQUESTER PL/I BAQSTUB CEE3204S 0C4 Abend

    Posted Mon September 21, 2020 10:25 AM
    This question is being investigated by the IBM z/OS Connect EE team.

    ------------------------------
    Sue Bayliss
    IBM z/OS Connect EE
    ------------------------------



  • 3.  RE: ZOSCONNECT REQUESTER PL/I BAQSTUB CEE3204S 0C4 Abend

    Posted Mon September 21, 2020 10:34 AM
    Hi Bart,

    As mentioned via email this problem can occur when the program is compiled and linked with the NORENT option.

    z/OS Connect EE requires the RENT option is specified for API requester applications and the Knowledge Center is being updated to reflect this requirement.

    Kind Regards,

    Mark

    ------------------------------
    Mark Hiscock
    Winchester
    ------------------------------