T
Tim Kuehn
Guest
While having the tx and the buffers have the same scope is "safer", there is nothing wrong with raising the lock for an existing buffer, changing the data, and then issuing a "request" to lower the lock level on that buffer when the TX ends. Steph - the problem about FIND CURRENT NO-LOCK and RELEASE that has been alluded to earlier is that notion that doing a FCNL or REL will downgrade the lock immediately . These statements do not change the current locking level until such time as the TX ends. Finally, assertions that using FCNL and REL will cause "other problems" are unsupported fear-mongering. If they're used properly - which you appear to be doing - then they're perfectly fine as a programming practice.
Continue reading...
Continue reading...