locked Clause

The locked clause is used when the requested item is locked and waiting is not desired.

Syntax

locked statement.block

Description

NOTE

You can specify the amount of time a process waits to execute the locked clause in the FSI if a lock is present by creating the updLockTimeout registry value in the HKEY_LOCAL_MACHINE/SOFTWARE/TigerLogic/D3/CurrentVersion/D3FSI/ directory in registry. If this value is not explicitly specified, the default update lock timeout is 500 milliseconds.

Example(s)

read cust.item from fv.cust,ID locked print ID:" is locked by port ":system(0)

See Also

matread Statement

read Statement

readv Statement

Statement Blocks

then Clause

then/else Statement Blocks