File reconstruction does not guarantee to recover all data, and you are not informed of any record loss. You are advised to make a back-up copy of a file before a rebuild is attempted.

If no problems are encountered in a file, the number of records in the file is given and ischk continues with the next file in the list.

If a problem is discovered, a message is issued to indicate the problem.  These messages may not be meaningful to you, but indicate that a problem exists and may be used for debugging purposes by PROIV Technology’s personnel.

After the error messages have been issued, you are asked if the file should be repaired.  If the answer is N(o), the file is left untouched and ischk continues with the next file in the list.  If the answer is Y(es), then the file is reconstructed.

This reconstruction is actually done in a second temporary file created by ischk called isfix, so that if the process is interrupted, the original file is left untouched.  This implies that there must be sufficient disk space for at least two copies of the file in question.

When the reconstruction is complete, the temporary file replaces the original file and is then rechecked.

The load factor indicates the percentage of the file used (occupied by data or index entries).  This gives an indication of whether running ispack would reduce the file size.  Note that the load factor will rarely reach 100%, even after packing, as records are not split across a page boundary, and so there will normally be some unused space at the end of each page.

If ischk is entered without any parameters, then on-line help appears for the utility.

Example

ischk -v invoice.pro
ischk ------ PROIV (R) Verify internal structure of PROISAM files
Copyright (C) 1994, PROIV Technology, Inc..
All rights reserved.  Unauthorized use strictly prohibited.
PROIV Version   : 4.000r1.00  Date: Feb 15, 1996

invoice.pro:  279 records
Page size: 1024 bytes
Level 0: 38 pages
Level 1: 1 pages
39 total pages, 0 free.  100%
Load factor 75%

Comment on this topic

Topic ID: 720187