Search    
 

   
 

 
PRAGMA PROGRAM REFERENCE MANUAL
Index
All Operation

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

Retrieves the last 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 THIS, enabling you to retrieve the
previous record in a file.

GET NOWAIT LOCK LAST in file FILE

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



SEE ALSO: GET WAIT LOCK THIS / GET NOWAIT / BEGIN THIS


 

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