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
 

 

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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm


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