Search    
 

   
 

 
PRAGMA PROGRAM REFERENCE MANUAL
Index
All Operation

Expand All      ADDENDUM
GET NOWAIT LOCK NEXT GNLN Standard Verb File Access Operation
Target = REFERENCE (RF), EXTERNAL ECHO (XE), FILE STATUS (FST)

Retrieves the next 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.
This is particularly useful after having positioned the file pointer directly
ahead of a record with the verb BEGIN.
The reference of the record is written to the target noun REFERENCE.

GET NOWAIT LOCK NEXT in file FILE

FILE is the name of the file whose NEXT record is to be accessed and locked.



SEE ALSO: GET WAIT LOCK NEXT / GET NOWAIT FIRST / 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