Posted by Robert G Laurin on March 20, 2023 at 13:44:18:
In Reply to: Re: E32 and E87 errors posted by Grant E Foraker on March 20, 2023 at 13:11:55:
I had disk errors and truncated files long time ago.
Check the data file attribute to get the actual size in bytes and divide by record size. It will confirm that you don't have all complete records.
Since the system is alive, here is how I fixed it.
Copy your data to a text file with the proper record length. I you open this file in a text editor Notepad or Ultra Edit/Studio and scroll down with PageDown, you will see if any section of the file is misaligned. That would be the records created after you data file was truncated.
You can then find the damaged record (the chopped one) and then with some manipulation salvage the misaligned records. I hope the key is in the data.
By chopping off the CR+LF you make a new file sequential that you can use with keyBuild in Comet.
You can also save the good section of your file to use with KeyBuild. You have to save both these files with different names because KeyBuild does not allow Merge. You'll have to copy one into the other for the Merge.
Good Luck !
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.