View previous topic :: View next topic
|
Author |
Message |
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
I am faing the user abend that 'U0777'
that means " The application program terminated abnormally because a
potential resource was in the deadlock condition".
Could you please help me out how to fix this.
When we rerun the same job that runs successfully.But while on live it keeps falied at particular time.
I am suspecting the same DB may be uesd by morethan one system |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
What program generated the U0777? Was it a COBOL program using DB2? IMS? Other? Except for a range of codes generated by IMS itself, user abend codes are generated by the source code. That's where you need to look. We need more information. |
|
Back to top |
|
|
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
Its a cobol program with IMSDB. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
Google "IMS user abend codes". Look at all of the messages that were generated by your job (I'm assuming batch). Check the IMS log (or DB2 log if your program also contains DB2). Somewhere you should find what resource caused the deadlock. The more information you can supply, the better your chances are of getting some help. |
|
Back to top |
|
|
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
This is not related to DB2 only IMS.This is batch program.
Code: |
+SWIMSCHK IMS DC SYSTEM IMS IS ACTIVE, SSCT=00F8F708
TES0003I PZ146W00 IMSCHECK 00 0 0 .00 90 0
+DFS0578I - READ SUCCESSFUL FOR DDNAME PROCLIB MEMBER = DFSINT1L IMS
+DFS0578I - READ SUCCESSFUL FOR DDNAME PROCLIB MEMBER = IMSDB2I IMS
IEC130I TD561U01 DD STATEMENT MISSING
IEF450I PZ146W00 GO TD561BMP - ABEND=S000 U0777 REASON=00000000 134
TIME=02.47.58
TES0003W PZ146W00 TD561BMP GO U0777 36 0 .00 1613 0
TES0003W PZ146W00 TD561BAT GO FLUSH .00 0 0
TES0003W PZ146W00 TD561BP1 GO FLUSH .00 0 0
TES0003W PZ146W00 TD561BT1 GO FLUSH .00 0 0 |
This is the error message i got in the job.when i check the IMS manual i do not understand anything since i am new to this IMS.
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
Back to top |
|
|
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
The application program terminated abnormally because a potential resource was in the deadlock condition.
This abend is used to terminate an MPP and cause it to be rescheduled. This only occurs when the PPUR=Y option is specified in the DFSVSMxx member and a HALDB partition fails authorization due to a database command being in progress. No TYPE67FF log record is snapped to the log.
System action:
The application program terminates abnormally. If it was running in an MPP or IFP region it will automatically be rescheduled.
System Programmer Response: If a BMP failed, rerun the job.
Hi Terry,
Could you explain on this:what is mean by MPP and PPUR=Y,HALDB.I hope if i know about this,I could solve |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
"IEC130I TD561U01 DD STATEMENT MISSING"
This message in the MVS System Messages Manual Vol. IV looks like it could be the problem. I have little IMS experience myself, so I can only try to point you in the right direction. Do you have coworkers at your shop that can assist? |
|
Back to top |
|
|
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
Thanks for your help Terry |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hello,
There are two things to ask:
1. You used BMP or DLI? (assumption: I believe it was BMP)
2. Check in which step of Your JOB abended, per this statement from the error messages you posted
Code: |
IEC130I TD561U01 DD STATEMENT MISSING |
you are missing a DD statement (probably a library) in that setp - add the missing DD statement & if the assumption made in step is ok, just re-run the JOB it should go fine else we might ask for some more SYSOUTs/error messages.. |
|
Back to top |
|
|
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
I do not think the probelm with the DD statement misssing.The probel is two or more than systems or batch pgm are triying to use the same database.When i checked in ims abend codes for UO777 which clearly says due to deadlock situtation only this abend comes. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
If this is a production problem, suggest you work with the scheduling people to schedule the conflicting jobs so they do not execute at the same time. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Usually, deadlocks are due to design problems. There is no "magic" to make them go away. It usually takes considerable effort. As asked earlier, if this is a production problem, one way around the design problems is scheduling. Another is to significantly reduce the runtimes of the problem job(s).
For doing schedule changes, You need to identify correctly the jobs involved in the deadlock at a given moment and How do we do that..can be next logical question - You can generate human-readable deadlock reports using DFSERA10 and DFSERA30 utilities, if you want to. |
|
Back to top |
|
|
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
Its fixed now.There are two jobs are tried to pick the IMS db at the same time du to which u0777 abend thrown.
Thanks for your help guys. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Thanks for keeping us posted - what solution was used by the way, schedule changes ?..just curious.. |
|
Back to top |
|
|
vijayakumar subramani
New User
Joined: 07 Aug 2008 Posts: 13 Location: Chennai
|
|
|
|
Yes we did the schedule changes for avoiding contention. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Thanks for posting the solution.. . This may help others who might be looking for solutions of similar problem...
Ad |
|
Back to top |
|
|
|