View previous topic :: View next topic
|
Author |
Message |
riteshsingh92
New User
Joined: 10 Nov 2009 Posts: 17 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
9/10 times you are gettig a SOC7. Check your storage. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
shreejita
New User
Joined: 16 Aug 2009 Posts: 60 Location: chennai
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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".
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 |
|
|
|