Topic
7 replies Latest Post - ‏2012-06-27T23:17:30Z by WU5S_Derk_Henderson
SystemAdmin
SystemAdmin
308 Posts
ACCEPTED ANSWER

Pinned topic idebug for CICS on AIX - help needed

‏2009-04-23T10:47:44Z |
Hi

I'm an application programmer attempting to get the idebug debugger up and running on our CICS system to allow us to debug CICS/cobol programs. I've got idebug working successfully on our batch cobol and java systems.

My shop is running:

IBM TXSeries CICS
AIX - oslevel 5.3.0

I have set the stanza and environment variables/paths and followed the other instructions as per the section "Configuring IBM distributed debugger with TXSeries CICS":

http://www-01.ibm.com/support/docview.wss?rs=175&context=SSAL2T&dc=DB510&uid=swg21260673&loc=en_US&cs=UTF-8&lang=en&rss=ct175other

When I attempt to start the CDCN transaction I get a message "ERZ104009E Debugger uninstalled or installed incorrectly"

Our system does not have the xldb CICS debugger installed.

Can anyone tell me if xldb is required for idebug via CDCN to work or can idebug and CDCN interoperate directly with one another (without xldb)?

Also if xldb is required, can you advise me where it can be obtained from or if it should be with the standard CICS or cobol install on AIX, so I can get our sysadmin guys to look for it?

I would appreciate any help or pointers anyone can provide on this.

Regards
Derk
Updated on 2012-06-27T23:17:30Z at 2012-06-27T23:17:30Z by WU5S_Derk_Henderson
  • PRAKSH
    PRAKSH
    6 Posts
    ACCEPTED ANSWER

    Re: idebug for CICS on AIX - help needed

    ‏2009-04-23T19:03:54Z  in response to SystemAdmin
    Hi Derk,

    XLDB is not required to use IDEBUG to debug TXSeries application on AIX. Could you tell me the TXSeries, IDEBUG versions.

    ERZ104009E error can come only when derddbg1 file not present under /usr/idebug/lib or under CICS_IDEBUG_LIBPATH.
    In "IBM Debugger for AIX" version 6.0, derddbg1 file is under /usr/idebug/engine/lib. Hence CICS_IDEBUG_LIBPATH=/usr/idebug/engine/lib has to be set.
    Let me know if you face any issue, even after setting the above mentioned env variable.

    Thanks,
    Prakash
  • SystemAdmin
    SystemAdmin
    308 Posts
    ACCEPTED ANSWER

    Re: idebug for CICS on AIX - help needed

    ‏2009-04-24T04:20:42Z  in response to SystemAdmin
    Hi Prakash

    Thanks very much for the info. We are running:

    CICS Version 5.0
    IBM Distributed Debugger Version 9.2.9
    IBM Object Level Trace Version 9

    The derddbg1 file is in:
    /usr/idebug/lib
    ...which is what I have the CICS_IDEBUG_LIBPATH set to.
    I won't get a chance to look at this again until next week, will recheck my
    settings and try it again. I'll let you know how it goes.

    Thanks
    Derk
    • PRAKSH
      PRAKSH
      6 Posts
      ACCEPTED ANSWER

      Re: idebug for CICS on AIX - help needed

      ‏2009-04-25T06:16:30Z  in response to SystemAdmin
      Hi Derk,

      TXSeries 5.0 starts supporting IBM Distributed debugger from PTF6 + Interim fixes or later PTFs.

      However newer versions of TXSeries had been integrated with ECLIPSE based IBM debugger which is easy to use and it has good features.

      Also newer version of TXSeries has enhanced features like,

      1) Channels and containers
      2) Interoperability between CICS regions over TCP/IP

      other features/enhancement can be seen from

      http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an&subtype=ca&supplier=897&appname=IBMLinkRedirect&letternum=ENUS209-040
      • SystemAdmin
        SystemAdmin
        308 Posts
        ACCEPTED ANSWER

        Re: idebug for CICS on AIX - help needed

        ‏2009-04-28T02:48:28Z  in response to PRAKSH
        Hi Praksh

        We are running:
        CICS Release Number 5.1.0.0 Revision Level TXSeries CICS 5.1.0.5 s510-L061212

        Are you able to confirm that this should be sufficient to allow idebug to run?

        Thanks
        Derk
        • PRAKSH
          PRAKSH
          6 Posts
          ACCEPTED ANSWER

          Re: idebug for CICS on AIX - help needed

          ‏2009-04-28T07:19:43Z  in response to SystemAdmin
          Hi Derk,

          We support IDEBUG in the TXSeries version that you had specified.

          You need to do following things
          In region's environment file set the following
          1) CICS_USE_IDEBUG=1
          2) DER_DBG_PATH=<Path of the source file to be debugged>
          3) CICS_IDEBUG_LIBPATH=/usr/idebug/lib (You dont need to set as TXSeries will automatically pick this pacth)

          After setting above environment variables, cold start the region. Then you'll be able to debug the application.
          thanks,
          prakash
  • SystemAdmin
    SystemAdmin
    308 Posts
    ACCEPTED ANSWER

    Re: idebug for CICS on AIX - help needed

    ‏2009-05-05T03:22:08Z  in response to SystemAdmin
    Hi Prakash

    Unfortunately, I have not been able to get this to work.

    Our sysadmin added the environment variables to the environment file (the derddbg1 file exists in the /usr/idebug/lib directory):

    CICS_IDEBUG_LIBPATH=/usr/idebug/lib
    CICS_USE_IDEBUG=1
    DER_DBG_PATH=/apps/source/cobol

    I also checked that the CDCN transaction has Type of RSL Checks set to None.
    The Allow Use of Application Debugging Tool on the region setting is set to Yes.
    The application program was compiled using cicstcl -a -lIBMCOB options.

    We then cold started the region.

    On running the CDCN transaction we still get:
    ERZ104009E: Debugger uninstalled or installed incorrectly

    The environment variables are being picked up because if I set CICS_USE_IDEBUG=0, I get a different message "Debugger not installed".

    We are intending to move to CICS 6.0 in a few months so I'll try it again then.

    Thanks for the help you have provided on this.

    Regards
    Derk
  • WU5S_Derk_Henderson
    WU5S_Derk_Henderson
    1 Post
    ACCEPTED ANSWER

    Re: idebug for CICS on AIX - help needed

    ‏2012-06-27T23:17:30Z  in response to SystemAdmin
    We have upgraded to TXSeries 7 and I can now debug CICS/Cobol programs using the IBM Debugger for AIX via CDCN.