Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Sql code -911 deadlock

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Nagendran

New User


Joined: 24 Jan 2007
Posts: 89
Location: USA

PostPosted: Mon Jun 16, 2008 8:32 am    Post subject: Sql code -911 deadlock
Reply with quote

Hi,

I have a written a DB2 program to load record into the DB2 table. Actually its a new db and it is not possible for other process or users to use this DB.

when i ran the job for the first time it got abended after processing few records with the sql code -911.

when i restarted the job , it ran fine.....

Is it possible to identify the reason for that particular deadloack...

Is that DB2 is internally storing such details any where within the system?


Thanks,
Nagendran.R
Back to top
View user's profile Send private message

vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Mon Jun 16, 2008 9:55 am    Post subject:
Reply with quote

Hi,


It may due to taking long time to process DB2 table which is not permissible.
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: Mon Jun 16, 2008 10:50 am    Post subject:
Reply with quote

Hello,

Please post the "reason-code" from the -911.
Back to top
View user's profile Send private message
plkanth_526

New User


Joined: 01 Jun 2008
Posts: 7
Location: Bangalore

PostPosted: Wed Jun 18, 2008 1:07 pm    Post subject: Reply to: Sql code -911 deadlock
Reply with quote

Hi,

F0r -911 sql codes db2 will log the messages in master logs.Best way to find with which it was in deadlock would be to check master logs.

-911 will be associated with reason code seeing it we can get the overview.

Thanks,
Laxmikanth
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us