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

Sql code -911 deadlock


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 275
Location: Bang,iflex

PostPosted: Mon Jun 16, 2008 9:55 am
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

Moderator Emeritus


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

PostPosted: Mon Jun 16, 2008 10:50 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top