Search    
 

   
 

 
PRAGMA PROGRAM REFERENCE MANUAL
Index
All Operation

Expand All      ADDENDUM
EXTERNAL GET NOWAIT LOCK XGNLK Standard Verb External 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 immediately returns with a message of "conflict"
in EXTERNAL ECHO and a status of 3 in FILE STATUS.
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 GET NOWAIT 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: EXTERNAL GET WAIT LOCK / EXTERNAL GET NOWAIT LOCK THIS / EXTERNAL 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