-p on LOOKUPs - further clarification?
Jay R. Ashworth
jra at baylink.com
Mon Jun 18 12:01:57 PDT 2007
On Fri, Jun 15, 2007 at 04:10:36PM -0400, Bruce Easton wrote:
> 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.
Yeah, but that doesn't get to the heart of what I was after: will a
lookup -P on *one* tag to a file block a lookup -P on a *different* tag
*to the same file*, in a given table?
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
More information about the Filepro-list
mailing list