Segment lengths do not match

Bob Stockler bob at trebor.iglou.com
Wed Sep 27 13:39:05 PDT 2006


Walter Vaughan wrote (on Wed, Sep 27, 2006 at 02:49:42PM -0400):

[snip] - Problem was that key and data segments didn't match
[snip] - Suggested fixes  to the problem.

| This is the kind of problem that should never happen
| today; key/data segments are a throwback to an time
| long, long ago. A time of diskette based systems and
| "Welcome Back Kotter".
| 
| If the data is valuable, it should be on a RAID array.
| Any speed improvents that a key/data segment structure
| will be lost in the overhead of two calls for data
| rather than one. Moving tables back to a zero lenght
| data segment are PITA, but doable. I kinda remember
| someone had a utility that did migrate information in
| the data segment and moved it to the key segment.

I plead guilty.  I wrote a filePro program that automated
converting key+data filePro files into key-only ones. It's
now part of a program I sell ($29.95) that does that plus
it also can move all empty records to the front of the file
and - if desired - truncate the file to leave but one free
record at the end.  It can also free empty saved records.

It works UNIX, Linux and Windows.

 +--------------------------------------------------------------------------+
 | Deflate a File  ***  Free Empty Saved Records  ***  Key+Data to Key-Only |
 +--------------------------------------------------------------------------+
 |                                                                          |
 |     EXECUTE PROGRAMS                     HELP FILES                      |
 |     ^^^^^^^^^^^^^^^^                     ^^^^^^^^^^                      |
 | 1 - Deflate a filePro File           D - Deflate filePro Files           |
 |                                                                          |
 | 2 - Free Empty Saved Records         F - Free Empty Saved Records        |
 |                                                                          |
 | 3 - Convert Key+Data to Key-Only     K - Key+Data to Key-Only            |
 |                                                                          |
 | E - Toggle STOP Before Execution         STOP Before Executing the Table |
 | T - Toggle STOP Before Truncating        STOP Before Truncating          |
 |                                                                          |
 | V - View the Map or Process Table                                        |
 |                                                                          |
 |                                X - Exit                                  |
 |                                                                          |
 +--------------------------------------------------------------------------+
 |                            Enter Selection > 1                           |
 +--------------------------------------------------------------------------+

Bob

-- 
Bob Stockler  +-+  bob at trebor.iglou.com  +-+  http://members.iglou.com/trebor


More information about the Filepro-list mailing list