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
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 |
Answer / naidu sekhar yandrapu
-911 ABEND DEDLCOK WITH TIMEOUT
SOL: RESTART JOB AFTER SOME TIME
| Is This Answer Correct ? | 2 Yes | 4 No |
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 |
How will you delete duplicate records from a table?
what is difference between Plan and Package
What is a DBRM, PLAN ?
How does DB2 store NULL physically?
What is difference between rollback and commit?
Which components manage deadlocks in db2?
i hav created a program and moved to production but failed to create the table which is been used in the program. the program shows error as soon as it is moved or installed in production or shows error during its runtime. what is the sqlcode for this error
What DB2 Catalog column tell you when an index needs table reorganized ?
What is the SQL Communications Area and what are some of its key fields?
how can you copy records present in a flat physical file to a database file(physical file).please explain in rpg400 with a simple example
Can you use max on a char column?
Can we declare DB2 HOST variable in COBOL COPY book?