EGL Development User Group

  • 1.  COBOL CICS problem after being called by EGL

    Posted Wed July 01, 2020 11:23 AM
      |   view attached
    We are currently having problems in our COBOL CICS program residing in  CICS Transaction Server  via CTG.

    We are running after refresh of CICS  region and we always encounter SQLCODE92K and AD2S dump code on the first transaction on the screen which is calling our program.

    Probably a config issue.

    Please see attached detailed explanation.

    Thanks,
    Jojo






    ------------------------------
    Jojo DURANTE
    ------------------------------

    Attachment(s)



  • 2.  RE: COBOL CICS problem after being called by EGL

    Posted Thu July 02, 2020 03:02 AM

    Goodmorning, 

    you are talking about called from EGL. How is the program called from there?

    Is the right user used when using SysLib.setRemoteUser ? 

    By the way; once we had a problem with calling a program from EGL and we had to use the CHGPGM command to change the USRPRF to *OWNER 

    to be sure there were enough access rights. 

    Greetings, Jeroen Dielemans
    DMG



    ------------------------------
    Jeroen Dielemans
    ------------------------------



  • 3.  RE: COBOL CICS problem after being called by EGL

    Posted Thu July 02, 2020 04:26 AM
    Edited by Jojo DURANTE Thu July 02, 2020 05:11 AM
    Hi Jeroen,

    The CHGPGM  command will be in the Database right? The owner would be the owner of the PLAN?

    Thanks,
    Jojo

    ------------------------------
    Jojo DURANTE
    ------------------------------



  • 4.  RE: COBOL CICS problem after being called by EGL

    Posted Thu July 23, 2020 12:02 PM
    Hi Jojo,

    Give me more detail.
    I'd like know if you tried to call cobol cics from EGL Debug ?
    because i saw you are using CTG.

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



  • 5.  RE: COBOL CICS problem after being called by EGL

    Posted Thu July 30, 2020 01:06 PM

    Hi Jojo,

    Not sure if this is still an issue, but let me explain what the problem is.
    The -922 problem is because your are running under DB2 plan DEFAULT and not under plan TIME1KIX. In the first CEDF screen that you show you can see that being stated on the 5th line of the screen: PLAN=DEFAULT, DBRM=AX121 etc.

    You should create a DB2ENTRY in CICS, via transaction CEDA,  for transaction TIME and specify the planname TIME1KIX there. Then install the group or entry that you created and after that it will run under that DB2 plan. 

    Regards 

    Peter 



    ------------------------------
    Peter
    ------------------------------