how to handle -911 (deadlock) error in a db2 program so that the program will never abend?
Answer / Reetika Yadav
To handle a deadlock (-911) error in a DB2 program, you can use one of the following strategies:
1. Implement locking procedures to avoid deadlock situations.
2. Use the DEADLOCK TREATMENT option in DB2 to specify how the system should react when a deadlock occurs.
3. Catch the error using a try-catch block, and implement a recovery plan within the catch block.
| Is This Answer Correct ? | 0 Yes | 0 No |
Hello, I have 3 years of exp as a mainframes tester in a leading IT company, now am looking to change my company. Could you please let me know, what are the interview questions/topics i should prepare. Your suggestions are truly valuable for me :) Thanks !!
If a ceo wants to see all employees of the company from an online screen. How will be the design of the map from the developer point of view?
Explain delete-connected tables?
suppose oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset?
How do you pass pointer PL/1 main procedure to sub procedure?
My program has an array defined to have 10 items. Due to a bug, I find that even if the program access the 11th item in this array, the program does not abend. What is wrong with it?
by using xpeditor if we want to debug the subpgm, how can you code in x-ped for mai-pgm n sub-pgm ?
Can you define a gdg?
What is mainframe testing?
Define the necessity of run stats among the environment test?
How many bytes does a s9(7) comp-3 field occupy ?
Explain index cardinality?