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

User Abend u0777


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Thu Jan 15, 2009 8:50 pm
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1248
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 9:30 pm
Reply with quote

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
View user's profile Send private message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Thu Jan 15, 2009 9:52 pm
Reply with quote

Its a cobol program with IMSDB.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1248
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 10:10 pm
Reply with quote

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
View user's profile Send private message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Thu Jan 15, 2009 10:55 pm
Reply with quote

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
View user's profile Send private message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Thu Jan 15, 2009 11:04 pm
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1248
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 11:47 pm
Reply with quote

"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
View user's profile Send private message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Fri Jan 16, 2009 2:50 pm
Reply with quote

Thanks for your help Terry
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Jan 16, 2009 3:25 pm
Reply with quote

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
View user's profile Send private message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Fri Jan 16, 2009 7:10 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sat Jan 17, 2009 12:36 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Sat Jan 17, 2009 1:53 pm
Reply with quote

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
View user's profile Send private message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Mon Jan 19, 2009 10:32 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Jan 20, 2009 11:31 am
Reply with quote

Hi,

Thanks for keeping us posted - what solution was used by the way, schedule changes ?..just curious..
Back to top
View user's profile Send private message
vijayakumar subramani

New User


Joined: 07 Aug 2008
Posts: 13
Location: Chennai

PostPosted: Tue Jan 20, 2009 10:36 pm
Reply with quote

Yes we did the schedule changes for avoiding contention.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Wed Jan 21, 2009 1:05 pm
Reply with quote

Thanks for posting the solution.. icon_smile.gif. This may help others who might be looking for solutions of similar problem...

Ad
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts System add a USER parm when job submi... TSO/ISPF 4
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts can an ISPF appl save user changes in... TSO/ISPF 14
No new posts What is the most complex abend you've... Mainframe Interview Questions 8
No new posts COBOL 6.4 - User Defined Function nee... COBOL Programming 6
Search our Forums:

Back to Top