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 NULL INDICATOR ? WERE IS THIS USED? AND IF IT IS USED IN FILES CONCEPT? HOW DO WE USE IT?

2 Answers   IBM,


What does CURRENTDATA option in bind indicate

1 Answers   IBM,


How many sub queries can you combine together ?

4 Answers   IBM,


What is an instance database?

0 Answers  


What is buffer pool and list some of them?

0 Answers  


What is db2 and what is the use of db2 optimizer?

0 Answers  


What language is db2 written in?

0 Answers  


is there any restrictions for unions ?

4 Answers   Patni,


Mention the definition of cobol in varchar field.

0 Answers  


Explain about cursor stability?

0 Answers  


How to view db2 table structure?

0 Answers  


What if we fail to give values in columns declared as NOT NULL ?

3 Answers   Cap Gemini,


Categories