Endevor

 View Only

Tuesday Tip: AICA abend monitoring with CA InterTest of CICS

  • 1.  Tuesday Tip: AICA abend monitoring with CA InterTest of CICS

    Broadcom Employee
    Posted Apr 29, 2014 01:28 PM

    Sometimes when monitoring a program with CA Intertest for CICS the program may receive an AICA abend. The same program can be execute without being monitored and it runs to a successful completion.  The problem can be caused by the additional overhead added by CA Intertest for CICS for every instruction being executed by the program being monitored. 

    CA Intertest for CICS has an ICT  parameter  that can be used if an AICA abend is encountered during the monitoring of a program.

    ICT: Instruction Counter for Preventing AICA Abends

    This command instructs CA InterTest for CICS to issue a DFHKC TYPE=WAIT,DCI=CICS macro each time the specified program executes nnnnn instructions. Use this option to prevent incorrect AICA abends in high CPU-utilization programs where overhead was increased by the CA InterTest monitoring activity.

    To set the instruction counter to prevent an AICA abend, enter:

    ICT=nnnnn  Specifies the number of instructions. Replace nnnnn with a decimal number between 1 and 65,534. 

    The programmer can add the ICT option to their program by using the CNTL command. For example

    At a clear screen in CICS enter the following command and press  the ENTER key 

    CNTL=ON,PROG=COBDEMO,ICT=10000 

    The following messages will be displayed 

    CAIN4580 ICT option(s) processed

    CAIN4513 This request has been processed.

     

    Then to verify that the ICT parameter is active for program COBDEMO please enter the following command at a clear screen in CICS and press  the ENTER key 

    CNTL=INQ,PROG=COBDEMO

    The following report will be generated for COBDEMO showing the ICT value specified.   

    COBDEMO    For userid .ANY

                  Symbolic file is PROTCOM

                    ICT=10000

                    * End of Report *