Sqlcode Intermediate
Joined: 15 Dec 2006 Posts: 157 Topics: 38
|
Posted: Wed Aug 27, 2008 1:48 pm Post subject: DB2 Data locking problem |
|
|
I have a situation where in an operator is currently updating a record from CICS/Web screen and while this update is going on, Batch job tries to unload Table.
Now, Currently we don't retrieve the record being updated since it is locked and we want to retrieve the being updated.
We are fine even if the we get record in old state before it was updated. i.e. record in its initial state before updation.
Code: |
SHRLEVEL CHANGE
LOAD-CONTROL Load lib name
SQL-ACCESS ONLY
PRINT-OPTIONS PTIMSG
OUTPUT-FORMAT DSNTIAUL
DISPLAY-STATUS 500000,I |
Is there any way to retrieve the record being updated?
Thanks, |
|