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.