Hello StuartT, Hello Shireeshn,
i understand and agree with Your suggestions that it is advisable to downgrage the share-lock to no-lock on the record after the transaction is ended. I know it makes sense when the record scope is bigger than the transaction scope.
But is it really advisable to...
Hi Everybody,
many times on this forum i've found the construction like this:
DEF BUFFER b-cust for customer.
FOR EACH customer NO-LOCK:
FIND FIRST b-cust EXCLUSIVE-LOCK
WHERE ROW-ID(b-cust) = ROW-ID(customer).
b-cust.xyz = 'xyz'.
RELEASE b-cust.
END. /* for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.