records not locking?

Mike Schwartz mschw at athenet.net
Tue Jun 3 15:43:49 PDT 2014


> On 6/3/2014 12:45 PM, Mike Schwartz wrote:
> [...]
> >       If I recall correctly, a write of a file closes ALL the aliased
> > lookups to that file.  (I'm sure somebody will correct me if that's no
> > longer correct, but that's a rule I obey when I program...)  You never
> > want to do
> > this:  Update a few fields, WRITE, reopen, update a few fields, write...
> > This will just kill your performance, if nothing else...
> [...]
> 
> No, a WRITE will not close any files or release any resources other than
the
> record lock.  A CLOSE, on the other hand, does what you describe.
> 
> --
> Kenneth Brody

     Oh, that's right.  I knew something didn't sound quite right when I
wrote that.

     It was a CLOSE command that I ran into a few years ago on a system that
was causing all the turmoil...

Thanks!

Mike




More information about the Filepro-list mailing list