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

 

AEIP Abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: AEIP Abend
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: 2360
Location: Israel

PostPosted: Wed Nov 25, 2009 3:23 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 994
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Nov 25, 2009 3:24 pm    Post subject:
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 25, 2009 5:52 pm    Post subject:
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    Post subject:
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Tue Dec 01, 2009 5:45 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
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


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