Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in


AICA abend in DB2

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message

New User

Joined: 19 Mar 2007
Posts: 72
Location: Chennai

PostPosted: Thu Jan 29, 2009 8:36 pm    Post subject: AICA abend in DB2
Reply with quote

We faced an AICA abend (running for a long time) for a CICS transaction. From Dump master we found that the looping occurred due to a perform statement. Below is the piece of code.


<If we encounter a -911/-904 here we perform this same paragraph ( PERFORM PARA-INSERT THRU INSERT-EXIT) again. If we encounter more than thrice, we throw an error message and come out of the program>


We tried to simulate the same scenario by forcing -911. But the above piece of code worked fine (i.e tried performing INSERT para thrice and came out of the program throwing error message) and did not fail with AICA abend code.

Any particular reason for the AICA abend. Any help to simulate the AICA abend would also be useful.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator

Joined: 06 Jun 2008
Posts: 7870
Location: Bellevue, IA

PostPosted: Thu Jan 29, 2009 9:05 pm    Post subject:
Reply with quote

The CICS Messages and Codes says about AICA:
Explanation: A task has been executing for longer than the runaway time interval (defined by the ICVR operand on the system initialization table macro, DFHSIT) without giving up control. The runaway task condition indicates a possible loop in the application.
The DB2 task may be running perfectly fine but you still get an AICA in CICS because the program has been running DB2 longer than the runaway task time interval. You need to consult with your CICS support person (and possibly DB2 support person) about the setting of the runaway time interval and why your transaction is getting the AICA. You may need to insert some CICS EXEC statement before jumping back into the DB2 code to ensure CICS doesn't think your program is looping when it isn't.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts S213-14 ABEND explantion Apurva Mehta JCL & VSAM 5 Thu Jul 07, 2016 10:56 pm
No new posts How to determine where is error in ab... jackzhang75 PL/I & Assembler 13 Fri Apr 15, 2016 2:01 am
No new posts user abend 4038 occurred in module CE... Musab Ahmed PL/I & Assembler 1 Wed Mar 30, 2016 10:49 am

Back to Top
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us