If a lock set with a lock mode is to be removed by calling the DEQUEUE function module, this call must have the same value for the parameter MODE_. You can override this default value as required when the function module is called. The lock mode specified when you create the lock object for the table is the default value for this parameter. The values allowed for this parameter are S (read lock), E (write lock), X (extended write lock), and O (optimistic lock). The lock mode for this base table can be set dynamically with this parameter. This is the standard setting for the DEQUEUE function module.Ī parameter MODE_ exists for each base table TAB of the lock object. The lock must be removed in both the interactive program and in the update program. The lock or lock release is also passed to the update program. This is the standard setting for the ENQUEUE function module. The interactive program with which the lock was requested no longer has an influence over the lock behavior. The update program is responsible for removing the lock. The lock or lock release is passed to the update program. The system removes the lock when the transaction is ended. Locks or lock releases are not passed to the update program. Parameter _SCOPE controls how the lock or lock release is passed to the update program (see The Owner Concept for Locks). In this case, a parameter must check that the lock has been removed. This is not the case if the transaction has called update routines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |