|
GET WAIT LOCK THIS
|
GWLT
|
Standard Verb
|
File Access Operation
|
Target = REFERENCE (RF), EXTERNAL ECHO (XE), FILE STATUS (FST)
|
Retrieves the present record from a file and locks the record. If the record is already locked by another user, it waits until the record becomes free. This is particularly useful after having positioned the file pointer directly ahead of a record with the verb BEGIN THIS, enabling you to retieve the previous record in a file. The reference of the record is written to the target noun REFERENCE.
|
GET WAIT LOCK THIS in file FILE FILE is the name of the file whose current record is to be accessed and locked.
|
SEE ALSO: GET NOWAIT LOCK THIS / GET WAIT / BEGIN THIS
|
|
|
|