|
PRAGMA PROGRAM REFERENCE MANUAL
|
Index
|
All Operation
|
|
Expand All ADDENDUM
|
GET WAIT LOCK
|
GWLK
|
Standard Verb
|
File Access Operation
|
Target = REFERENCE (RF), EXTERNAL ECHO (XE), FILE STATUS (FST)
|
Retrieves a record from a file and locks the record. If the record is already locked by another user, it waits until the record becomes free. If PRAGMA cannot find the specified record, the EXTERNAL ECHO will contain a "record not found" message and no record will be retrieved. After accessing the file the reference of the record is written to the target noun REFERENCE. EXTERNAL ECHO contains the status message of the access.
|
GET WAIT LOCK reference CHOICE in file FILE CHOICE can be a noun, number or an expression that identifies the record you want to access. FILE is the name of the file that is to be accessed.
|
SEE ALSO: GET NOWAIT LOCK / GET WAIT LOCK THIS / BEGIN
|
|
|
CustomWare® is a registered trademark of CustomWare Designs, Inc. All rights reserved.
CustomWare® is a registered servicemark of CustomWare Designs, Inc. All rights reserved.
All images and designs on this web site are copyrighted© 2021.
v
t
|
|