Quote:
Originally posted by grofaty
Hi,
You are probably accessing the VM database with two different users IDs. Check if the same user id is used.
The error message says: "User ID LMSFWS01 does not have permission to do the task".
1. Does LMSFWS01 user exist?
2. Does the user have the permission to do the task?
Hope this helps,
Grofaty
|
Hi Grofaty,
Tks for the reply.
Your suggestion is what I guess in the beginning. Then I grant dba to the user "LMSFWS01' & the message change to the following.
INSERT INTO LMS.FWSCNTRL VALUES ( 'GSAA', 159, 0, 0, 20031118, 221022, 20031118, 221022, 'IBMAusCredHQ01', ' ' , 0 , 0 , ' ' )
18/11/2003 10:10:59 PM COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][SQLDS/VM] SQL0911N The current transaction has been rolled back because of a deadlock or timeout. Reason code "68". SQLSTATE=40001
Now I believe this message doesn't reflex the real situation since I can run the insert sql via db2 connect directly without problem.
Do u have more idea pls?