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
 

 

User Abend u0777

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: User Abend u0777
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: 1238
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 9:30 pm    Post subject:
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    Post subject:
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: 1238
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 10:10 pm    Post subject:
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    Post subject:
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    Post subject:
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: 1238
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 11:47 pm    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Fri Jan 16, 2009 3:25 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sat Jan 17, 2009 12:36 am    Post subject:
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

Senior Member


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

PostPosted: Sat Jan 17, 2009 1:53 pm    Post subject:
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    Post subject: Reply to: Abend u0777
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

Senior Member


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

PostPosted: Tue Jan 20, 2009 11:31 am    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Wed Jan 21, 2009 1:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm


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