-p on LOOKUPs - further clarification?

Bruce Easton bruce at stn.com
Fri Jun 15 13:10:36 PDT 2007


Jay R. Ashworth wrote Friday, June 15, 2007 2:42 PM:
> 
[..]
> 
> So, when you say -p, filePro write locks the target record (and
> associated index records) *while it is writing that data item* -- and
> unlocks it automagically afterwards?

The lookup with the -p indicates that the record is locked as soon 
as it is accessed, not while it is writing.  If the record is already 
locked, then filepro will wait until the record is unlocked before it
accesses it for writing by someone else.  (See the description of -w 
flag in online help for another option with different behavior.)  In 
regards to the effects of the "write" command, as Jeff indicated, 
also see the "close" command.  

[..]

Bruce

Bruce Easton
STN, Inc.
 




More information about the Filepro-list mailing list