Contents of the BCLEAN.DOC file
BCLEAN is provided as is and carries no warranty
whatsoever. Novell disclaims and excludes any and all implied
warranties of merchantability, title and fitness for a particular
purpose. Novell does not warrant that the software will satisfy
your requirements or that the software is without defect or error
or that operation of the software will be uninterrupted. You are
using the software at your risk. The software is not a product
of Novell, Inc. or any of subsidiaries.
What is BCLEAN? Bclean performs the same operation as BUTIL -RECOVER/LOAD
without going to an intermediate file. Also, BCLEAN handles the majority of
status codes by continuing with the recover, even in places where RECOVER/LOAD
fails. This was the original purpose of BCLEAN and will remain the number one
goal. In addition, BCLEAN can rebuild the header of Btrieve files and can
renumber the page numbers in a Btrieve file. Both of these options modify the
original file, therefore it would be wise to backup up before using Btrieve,
even when the original file is already corrupt.
is the file that needs recovery
is the file to recover to
-If the file does not exist, AND the has a valid header,
then BCLEAN will create the .
-If the file does exist, then BCLEAN will insert records to it. If the
header is bad in the , BCLEAN will use the header from the
to fix the header in the .
-R Tells BCLEAN to automatically rebuild the header of the .
-P Tells BCLEAN to automatically rebuild the header of the .
AND to re-page the . This is especially useful if not
all the records seemed to be recovered on a previous try.
-Dn Tells BCLEAN to dump (as characters) the record buffer, starting
at location n (total of 80 characters)
-Xn Tells BCLEAN to dump (as hex) the record buffer, starting at
location n (total of 40 bytes)
BCLEAN only works with 5.xx versions of Btrieve. The best possible way to use
it is to have an existing that has NO records in it and to use the
-R option. This way, BCLEAN will copy the correct header from the
to the and thus ensure the is correctly set up.