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

AEIL/ ASRA abends in CICS


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

New User


Joined: 27 Feb 2012
Posts: 2
Location: India

PostPosted: Mon Feb 27, 2012 5:41 pm
Reply with quote

Hi,

I am noticing frequent AEIL/ ASRA in my CICS/online modules. The only thing I understand about these abends that they mostly occurs if the code does not handle specific code situations. example is CICS RESP is not handled properly.

Can anyone suggest me what I should specificly look for avoiding AEIL/ ASRA abends. or please share if you have any other information.

Abend-AID Screenshot below:

Code:
                                                             
                 Abend                                                   
Entry   Job Name Code     JESID    Tran Program  Offset   Dups Time  Date
******* ******** ******** ******** **** ******** ******** **** ***** *****
  0005971 CICSMCDC ASRA     S0011258 MISU MI89200A 00001DB2    0 06:01 26FEB
  0005970 CICSMCDC ASRA     S0011258 MISU MI89200A 00001DB2    0 06:01 26FEB
  0006163 CICSCI10 AEIL     S0007327 M900 MI90500B 00002472    0 09:13 03FEB


Thanks in advance.
-Puja icon_cool.gif
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: Mon Feb 27, 2012 5:47 pm
Reply with quote

You need to learn how to find and use the CICS Messages and Codes (MAC) manual for your release of CICS (hint: check the IBM web site or click the Manual button at the top of this page). If you do so, and look up AEIL for example, you will find
Quote:
3.7.35 AEIL

AEIL

Explanation: FILENOTFOUND 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.
Knowing that you used a file name in your program that is not defined to CICS makes it MUCH easier to fix your problem and debug your program.
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: Mon Feb 27, 2012 7:55 pm
Reply with quote

Make sure your file name is 8-Bytes in length (a mandate) in the API, padded with low-order spaces (when necessary).

03 FILE-NAME PIC X(06) VALUE 'MYFILE'. <=== E R R O R < 8-BYTES

03 FILE-NAME PIC X(08) VALUE 'MYFILE'. <=== THIS IS OK

Mr. Bill
Back to top
View user's profile Send private message
Puja Baranwal

New User


Joined: 27 Feb 2012
Posts: 2
Location: India

PostPosted: Wed Feb 29, 2012 3:53 pm
Reply with quote

Thanks Robert and Bill for your suggestions. I will be trying the options.

-Puja icon_smile.gif
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 Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top