Page-Unlock method |
C-1804 R-17027Use this method to unlock a page in the unusual situation that the page was locked during the Obj-Open operation but the ReleaseOnCommit parameter was not selected.
Typically, when the Obj-Open method opens and locks an object from the database, the ReleaseOnCommit parameter is selected. When a later Commit method executes, the system automatically releases the lock.
However, when the ReleaseOnCommit parameter is not selected, the Commit operation has no effect on the lock, which remains in force. This capability facilitates multiple Commit operations on one page without the need to re-acquire the lock.
You can also use this method to release a lock that is no longer needed, regardless of the ReleaseOnCommit parameter value. CLINB
This method has no parameters.
The page identified in the Step Page column (or the primary page, if the Step Page column is blank) is unlocked.
This method updates the pxMethodStatus property. See How to test method results using a transition.
Commit method
Obj-Open method Understanding object locking |