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

What is concurrency in db2?

1 Answers  


what are the SQL codes u freequently got?

2 Answers   Logica CMG,


define clustering index.

0 Answers  


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

0 Answers  


query to just fetch first matching row and stop execution. once one matching row is found ..no more records should be checked.. if the first record is matching.. the query must stop

2 Answers   IBM,






What are foreign keys in db2?

0 Answers  


What is the default page size of buffer pools?

0 Answers  


AGGREGATE function support by DB2. A) SUM & AVG B) SUM, MIN & AVG C) SUM, MAX, AVG , MIN &COUNT D) NONE

2 Answers   Accenture,


How do you concatenate the firstname and lastname from emp table to give a complete name?

0 Answers  


what is a trigger and types of triggers

3 Answers   HSBC,


How do you stop a db2 database in linux?

0 Answers  


Which component is responsible for db2 startup and shutdown?

0 Answers  


Categories