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

AEI2 error


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mohanrazz

New User


Joined: 30 Sep 2008
Posts: 30
Location: India

PostPosted: Tue Jun 08, 2010 1:09 pm
Reply with quote

Hi I have a transaction which is triggered during start of day as its entry is in PLT table. this transaction calls a program in which again the same transaction is called using START TRANSID after with an interval of 15 min. This way the transaction is triggered every 15 min automatically.

Now, I am trying to trigger the transaction from my terminal for some testing purpose but I am getting AEI2 (End data error). can anybody throw some light on possible reason for this and how to solve this.

Thanks in advance.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Tue Jun 08, 2010 3:41 pm
Reply with quote

A snapshot from the manual ... Hope this will help you to understand the reason ...
Quote:
ENDDATA occurs in any of the following situations:
- No more data is stored for the task issuing a RETRIEVE command. It can be considered a normal end-of-file response when retrieving data records sequentially.
- The RETRIEVE command is issued by a task that is started by a START command that did not specify any of the data options FROM, RTRANSID, RTERMID, or QUEUE.
- The RETRIEVE command is issued by a nonterminal task that was not created as a result of a START command.
- WAIT was specified and the task was waiting for a data record but none became available before the deadlock time-out interval (see the DTIMOUT option of RDO DEFINE TRANSACTION).
- WAIT was specified and the task was waiting when CICS entered shutdown. An attempt to issue RETRIEVE WAIT during shutdown leads to an AICB abend if there is no data record already available to satisfy the request.
- A RETRIEVE command with the WAIT option is issued when no data is available; the task was initiated by a START command that specified an APPC connection or terminal in the TERMID option.
Default action: terminate the task abnormally.
Back to top
View user's profile Send private message
mohanrazz

New User


Joined: 30 Sep 2008
Posts: 30
Location: India

PostPosted: Tue Jun 08, 2010 3:48 pm
Reply with quote

thanks binop..
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Jun 08, 2010 4:56 pm
Reply with quote

Did you start it with any data? It appears the program is looking for some data via a retrieve....
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Jun 08, 2010 5:13 pm
Reply with quote

Use the XC ASSIGN STARTCODE API, to determine how the transaction has been started as well as if the transaction is not attached to a terminal.

It looks like a STARTCODE value of 'SD' (Started with Data) is acceptable as well as EIBTRMID = LOW-VALUES.

Otherwise, issue a XC RETURN.

Bill
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top