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

ASRA abend for PRF in CICS region


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

New User


Joined: 10 Nov 2009
Posts: 17
Location: India

PostPosted: Mon Dec 07, 2009 8:41 pm
Reply with quote

Hi

I am getting below abend when try to run PRF in CICS region can someone help me why its getting and how to resolve it.

Thanks.

"prfDFHAC2206 10:00:38 CICSNBS Transaction PRF failed with abend ASRA. Updates to local recoverable resources backed out. "
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 07, 2009 8:53 pm
Reply with quote

PRF is not a CICS transaction since it does not start with a C. Either it is a vendor product -- in which case you need to contact the vendor for assistance -- or it was written at your shop, in which case you need to use the standard debugging methodology of your site to figure out the problem.
Back to top
View user's profile Send private message
valyk

Active User


Joined: 16 Apr 2008
Posts: 104
Location: South Carolina

PostPosted: Wed Dec 09, 2009 12:27 am
Reply with quote

9/10 times you are gettig a SOC7. Check your storage.
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: Wed Dec 09, 2009 1:58 am
Reply with quote

Generate the transaction dump and review the address of the Next Sequential Instruction (2nd-word from the left in the PSW display). To get to the actual failed instruction, look for the instruction length code (ILC) and subtract this from the NSI address. You'll also have to subtract X'26' from the NSI address (I'm assuming this is COBOL/CICS) as X'26' is the length of the COBOL/CICS stub.

You can also re-compile the program to expand the COBOL Verbs into Assembler instructions.

If you find the NSI address in the expansion (and you should), then go to that instruction in the expansion and then the failed instruction will be the one just above it.

Nine times out of ten, it will be a failed decimal-instruction due to bad data. The ZAP (Zero and Add Decimal/Packed) is a very common instruction to raise a S0C7. It's OP Code is X'F8'. But there are others, such as a CP (Compare Decimal/Packed), OP Code X'F9', AP (Add Decimal/Packed) OP Code X'FA', etc....

Bill
Back to top
View user's profile Send private message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Thu Dec 17, 2009 10:03 am
Reply with quote

Sorry All,

I am facing problem in COBOL-CICs program.

I gone thru our previous post and unable to understand following details.

1. What should be the PARM parameter to get transaction dump

2. What is Program status word says in that list

3. How to get NSI values

4. As site say we have to do minus from something ...what's that

Plz explain me and thanks in advance

Regards
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Dec 29, 2009 4:18 am
Reply with quote

shreejita,

it sounds like you are in over your head. debugging an ASRA problem
is pretty basic CICS stuff. Ask your fellow programmers for help OR
contact your CICS Technical support.
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 Dec 29, 2009 5:27 am
Reply with quote

I agree with Earl that you are in over your head.

What is your version/release of CICS (IE: CICS/TS 2.3)?

Go to ===> publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/library

Click "Browse Shelves" and wait until all the shelves have begun listing.

Then, enter CICS and press the Find button.

You will then need to go to the appropriate CICS version/release shelf and click on "CICS Operations and Utilities Guide".

Depending on your version/release, the transaction dump program begins with DFHDU then suffixed with the CICS version/release. For CICS/TS 2.3, that suffix will be 630, so search for DFHDU630 for this version/release and you'll find what you are looking for. For CICS/TS 3.1, that suffix will be 640.

This is why 3rd-Party debuggers have a noose around many a programmer's neck and without them, many folks just don't know the procedure(s) to debug a program "The Old Fashioned Way". icon_wink.gif

You're also going to need a z/OS Reference Summary, for the syntax of the instructions you'll be searching for.

An old "Yellow Card" will probably be OK....

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 ISAM and abend S03B JCL & VSAM 10
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
Search our Forums:

Back to Top