Quote:
Originally Posted by sunil_pec1987
My analysis:
As i am inserting the base using procedure commiting at the end, so there must be row_lock on the ows inserted by the procedure.
at the same time from java application i am trying to read the data using "with ur"
So at the time of updation of uncommited data i must wait till the row lock get removed so the java application can take row lock on that row.
Might be this is causing the timeout issue.
------------------------------------------------------------------------------------
I tried to replicate the same scenario in the test environment and please find my observation below:
1) In 1 session i created two tables and inserted few records with commit.
and inserted few records without commit
2) in second session i try to read the records using join on both tables using "with ur"
and the data get populated in the session table which was uncommited in the first session
so when i tried to update the uncommited data its shows me
zero rows updated sqlcode 100. but no waiting for commit to happen.
no 911 error.
-----------------------------------------------------------------------
|
plz show the screen shots in detailed and the db2pd -appl -trans -locks show locks
output for each steps。
and make sure the the register var

B2_EVALUNCOMMITTED in your
test env is not turned on.