How do I handle -911 (deadlock) error in a db2 program so
that the program will never abend?

Answers were Sorted based on User's Feedback



How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?..

Answer / kcs

Naidu,

Please go thru the qns before answering.Everyone knows that
it has to be restarted.
Qns here is how do you handle it in the program so that it
will never abend with deadlock.

Is This Answer Correct ?    0 Yes 0 No

How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?..

Answer / naidu sekhar yandrapu

-911 ABEND DEDLCOK WITH TIMEOUT

SOL: RESTART JOB AFTER SOME TIME

Is This Answer Correct ?    2 Yes 4 No

How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?..

Answer / sireesha

Dead lock time out erro occurs in the following case:
If two or more programs acquired exclusive lock on the
data,which may be needed for other programs without that
data which can not proceed further.

Solution: You can roll back current unit of work for one of
the programs after preset time interval for deadlocks and
terminate that program.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More DB2 Interview Questions

Return code 100 means?

6 Answers   Cap Gemini,


What are the disadvantages of PAGE level lock?

3 Answers  


if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC.

8 Answers   Wipro,


suppose in my table 10 rows are there , i want to update odd rows salary as 90000 ? how u do it ? any one help me ? what do we use here cursor-fetch or normal sql ?

5 Answers   IBM,


What is tablespace?

3 Answers  






In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

0 Answers  


Describe the elements of the SELECT query syntax?

3 Answers  


How do I import data from excel to db2?

0 Answers  


what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?

3 Answers   Cap Gemini, Tech Mahindra,


What is the cascade rule and how does it relate to deletions made with a subselect?

1 Answers  


can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well

0 Answers  


What is a buffer in memory?

0 Answers  


Categories