Freigeben über


SYS(2011) - Current Lock Status

Returns the record or table lock status for the current work area.

SYS(2011)

Return Values

Character

Remarks

Unlike the FLOCK( ), LOCK( ), and RLOCK( ) functions, SYS(2011) doesn't attempt to lock the table or record.

The character string returned by SYS(2011) is identical to the message displayed in the status bar (Exclusive, Record Unlocked, Record Locked ...).

SYS(2011) returns Exclusive only at the workstation that opened the table exclusively, and Record Locked only at the workstation that applied the record lock.

See Also

FLOCK( ) | LOCK( ) | RLOCK( ) | SYS( ) Functions Overview | ISFLOCKED( ) Function | ISRLOCKED( ) Function