Search    
 

   
 

 
PRAGMA PROGRAM REFERENCE MANUAL
Index
All Operation

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

Retrieves a record from a file. If the record is 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.

GET NOWAIT 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 WAIT / GET NOWAIT LOCK / 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