Description
This function set table locks on the tables
that are associated with this sditerator. Normally this isn't necessary
but if you are trying to work directly with the associated tables through
a table tool using unlock and lock should make the interaction happen
faster since the the auto-locking mechanism won't need to periodically check
to see if a lock needs to be set. The nattempts argument is used to indicate
how many additional attempts to acquire the locks the tool should make
before giving up.
Each additional attempt happens after about a 1 second pause. If nattempts is
0, only the initial attempt will be made. If the locks can't be set, the return
value will be false (F).
Arguments
nattempts |
in |
The number of times to attempt to set the lock. |
|
|
Allowed: |
Integer |