Save command

Nancy Palmquist nlp at vss3.com
Wed May 18 07:31:24 PDT 2011


Richard,

If the freechain is rebuilding, it could very well have been written but 
was stored on a "free" record.  Each record has some kind of flag that 
tells fp if it is free or not.  Since the record is on the free list you 
can not scan for the data, sort the data, or do anything to find it 
except a visual record by record search.  To find it you would have to 
use a NON-Filepro data structure connected to the KEY, but since that 
will not correct the 20 byte binary part that is broken, you are still 
in trouble.

I have seen databases where you can see the data on the screen but 
filepro thinks it is a free record and if you update and save the data 
is put back in play.  Now I have not seen this kind of issue for years, 
but I know it is possible.

The freechain would be locking a file but I do not think it stops you 
from adding a record from outside the file.  Same with all the file 
Locks.  So I can certainly see this being possible.

Final note - try not to do this anymore.
Nancy

On 5/17/2011 11:04 AM, Richard Kreiss wrote:
> At what point is a record written to disk?
>
> 1. When save is executed
>
> 2. When the processing executed after the save ends
>
> The reason for the question is that one of my client's when adding a new
> record to a tracking file, while rebuilding free chain is running, finds
> that some new records are not saved to disk.
>
> Yes, I know, I need to find out why they are periodically getting this
> message.
>
>
> Richard Kreiss
> GCC Consulting
> rkreiss at gccconsulting.net
>   
>
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>

-- 
Nancy Palmquist         MOS&  filePro Training Available
Virtual Software Systems    Web Based Training and Consulting
PHONE: (412) 835-9417           Web site:  http://www.vss3.com



More information about the Filepro-list mailing list