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
 

 

EXEC-ABCODE- :ASRA in CICS Migration

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: EXEC-ABCODE- :ASRA in CICS Migration
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: 2150
Location: At my coffee table

PostPosted: Mon Apr 07, 2008 11:00 pm    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Mon Apr 07, 2008 11:23 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Apr 07, 2008 11:55 pm    Post subject: EXEC-ABCODE- :ASRA IN CICS
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    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 CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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