I am connecting to DB2 5.0 on MVS OS/390 from a windows NT using ODBC.
Below are the sequence of steps I do
1) 2 users connect to DB2
2) Both of them set autocommit to false
3) first user inserts a record into a table say mytable
4) second users issues a update statement on the same table, mytable.
I get an error "[IBM][CLI Driver][DB2] SQL0913N Unsuccessful execution
caused by deadlock or timeout. Reason code "00C9008E".
SQLSTATE=57033"
How can I do what I want to do with out errors.
any help appreciated.
Thanks,
-raja
Sent via Deja.com http://www.deja.com/
Before you buy.
Phil Castle.
<rajas...@my-deja.com> wrote in message
news:8aj1cg$teu$1...@nnrp1.deja.com...
Phil.
<rajas...@my-deja.com> wrote in message
news:8aofkf$sns$1...@nnrp1.deja.com...
regards,
eric pearson
db2...@nospammindspring.com
Try indexing the table on the update keys.
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!