In the software, it can be useful to lock data from the database during a transaction. This is made possible using the following instructions:

  • the Lock instruction that carries out a symbol lock
  • the With lock clause in a read command
  • the Readlock instruction that reads and locks a line in a table

This technical parameter is used to define, when faced with a first failed attempt at locking because another user has already placed a lock, the number of seconds during which the engine automatically repeats its attempt before failing by warning the user via a locking message.

After a first failed lock attempt, it will retry every second for the duration defined by the lockwait value.

Level of localization / Global variable

This parameter is defined at the level Folder. It belongs to Chapter SUP (Supervisor) and the Group PRF (Performances), The following parameters are also associated with this chapter and group :

The lockwait system variable is associated with this parameter.

Linked parameters

Functions concerned

This parameter concerns some access to the database. Its normal value is equal to 5 and it is recommended to leave it unchanged, except for a reasoned technical recommendation.