Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
AEI2 abend

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

New User


Joined: 18 Aug 2008
Posts: 50
Location: Bangalore

PostPosted: Fri Oct 26, 2012 1:46 pm    Post subject: AEI2 abend
Reply with quote

Hi,

I am getting AEI2 abend when RETRIEVE command is executed.

here is how code looks like

Main program

EXEC CICS START
TRANSID('ECAC')
RESP(WS-CICS-RESP)

Sub program

EXEC CICS RETRIEVE
INTO(MQTM)
END-EXEC.


Can you please help me out with this
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Oct 26, 2012 1:53 pm    Post subject: Reply to: AEI2 abend
Reply with quote

I just checked the manual

if You had looked it up Yourself instead of lazily sitting on Your ***
waiting for somebody to retype the info contained in the manual

You would have already found the solution

the manual is very clear about the miscoding error

even a stupid google search with CICS ABEND AEI2 would have solved Your problem
Back to top
View user's profile Send private message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 50
Location: Pune

PostPosted: Mon Oct 29, 2012 2:16 pm    Post subject: Reply to: AEI2 abend
Reply with quote

Explanation
ENDDATA condition not handled.

This is one of a number of abends issued by the EXEC interface program.
Because of their similar characteristics these abends are described as a
group.

See the description of abend AEIA for further details.

AEIA Says:
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Tue Oct 30, 2012 1:17 am    Post subject: Reply to: AEI2 abend
Reply with quote

From the code you supplied, I see you have not coded FROM() in the Start, and thus there is no data to be retrieved, which, of course, gives the Enddata condition , and the abend. You should ALWAYS retreive until the Enddata condition is signalled. This condition removes the AID (Automatic Initiate Descriptor) from the Queue. Otherwise the task will be started over and over. To pevent this, the AEI2 is issued, to make you aware of the missing handling of the condition.
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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us