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

EXEC-ABCODE- :ASRA in CICS Migration


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

New User


Joined: 03 Apr 2008
Posts: 1
Location: NJ

PostPosted: Mon Apr 07, 2008 10:43 pm
Reply with quote

Hi!
This is Brahmaiah. We are trying to do Cobol Migration for CICS prorgrams. As part of this all the CICS prorgrams(CB2CDB2) is compiled with CB3CDB2 with valid return codes.

But we are getting ASRA abend during runtime. Please advice on this.
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: Mon Apr 07, 2008 11:00 pm
Reply with quote

ASRA
-Explanation: The task has terminated abnormally because of a program check.
-System Action: The task is abnormally terminated and CICS issues either message DFHAP0001 or DFHSR0001. Message DFHSR0622 may also be issued.
-User Response: Refer to the description of the associated message or messages to determine and correct the cause of the program check.


Program check, data exception?
Look at the dump and find the garbage field....
Uninitialized storage might influence initial logic branching.....
Older COBOL compilers would pre-format working storage, but later ones do not without explicit LE options being set.
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: Mon Apr 07, 2008 11:23 pm
Reply with quote

vadlamudi1 wrote:
Please let me know is there any option to cehck the Dump
The PSW usually points to the instruction after the one that ASRAed. Look at the ASRAing instruction and find it in the COBOL listing and see what it was doing.
Or look at the ASRAing instruction and from the dump, trace back to where the data component came from and further, what its current value is.
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 Apr 07, 2008 11:55 pm
Reply with quote

You need to re-compile the program using the LIST,NOOFFSET compile options, which will generate the Assembler expansion of the COBOL code.

It would then be easier to find the bad instruction, of which (IMHO) is most likely going to be a packed-decimal instruction, such as a ZAP (Op Code F8).

HTH....

Regards,

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 -> 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 JCL EXEC PARM data in C Java & MQSeries 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top