Syntax
DbRLockList() --> aRecordLocksArguments
None.
Return value
An array containing identities of records locked by the current work area.
Description
DbRLockList() asks the active RDD for every record identity locked by the current work area and returns those identities in an array. It does not move the record pointer, acquire locks or release them. The result is a snapshot; later lock operations do not update an array already returned.
Notes
A work area must be open. RDD or I/O failures raise an error. Use DbRUnlock() for one identity, DbUnlock() for all locks in this area, and DbUnlockAll() for all open areas.
Example
PROCEDURE Main()
QOut( "Locks: " + LTrim( Str( Len( DbRLockList() ) ) ) )
RETURNOutput