IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

AEIP Abend


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sijayapal

New User


Joined: 23 Dec 2008
Posts: 69
Location: India

PostPosted: Wed Nov 25, 2009 2:56 pm
Reply with quote

Hi,

I am new to CICS. I face AEIP abend in a background transaction which runs once in a minute. This is a 24X7 application. The purpose of this transaction is to monitor the instances of other transactions set by the users. If the instances were greater than the value set by the user, an alert will be sent.

I found that AEIP abend happened because when the transaction was running the region came down and this resulted in AEIP ( i hope, i am right icon_eek.gif ).

How can i handle this situation???? Is there any way i can check whether the region is UP???

Please suggest me with a solution...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Nov 25, 2009 3:23 pm
Reply with quote

I think you can use the INQUIRE CONNECTION command.

O.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Nov 25, 2009 3:24 pm
Reply with quote

Quote:
I found that AEIP abend happened because when the transaction was running the region came down and this resulted in AEIP ( i hope, i am right ).


It's more likely the other way around and that your transaction is getting AEIP and shutting the region down, or the region coming down is coincidental.

If a region is down, you won't get to execute the transaction at all - once the region is down, it cannot produce any abend code.

AEIP in INVREQ - you need to find whjat the INVREQ is and add a HANDLE for that.

The business prupose of the transaction is suspect - you could possibly use transaction classes to restrict the instances of given transactions.


Garry.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 25, 2009 5:52 pm
Reply with quote

Why are you not using the RESP parameter on your EXEC CICS command? These days, not having RESP is very negligent -- almost criminally so!
Back to top
View user's profile Send private message
sijayapal

New User


Joined: 23 Dec 2008
Posts: 69
Location: India

PostPosted: Tue Dec 01, 2009 5:31 pm
Reply with quote

This is what i did........

I have used INQUIRE SYSTEM command to check the region status and then i will start a tran or link to a program. If the region is down,i will not perform any operation.

I have used the RESP option to capture the CICS response. Since the tran runs 24X7, it even tries to execute when the region comes down.

But i was unable to test my changes by bringing the region down. As per our company standards we are not allowed to use HANDLE Condition.

Pls suggest me a way to prevent this abend.....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 01, 2009 5:45 pm
Reply with quote

Okay, I'm confused. From the manual:
Quote:
The INQUIRE SYSTEM command returns information about the CICS system under which the task issuing the command is executing.
So why do you need to know about the system you're running under? I thought you were looking at a different CICS region.

What command is getting the INVREQ? If it is the START for the transaction, check RESP2 and if it is 17 then you need to do CICS RETURN since the region is shutting down.

Otherwise, since the INVREQ can be trapped by the RESP code and returned to your program, you can definitely implement program logic to prevent the abend. How you do so, of course, depends upon the requirements for the system -- which we don't know.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top