VB & Basic PDS: ISAMREPR Always Adds 32K to a .MDB File (60132)



The information in this article applies to:

  • Microsoft Visual Basic for MS-DOS
  • Microsoft Basic Professional Development System for MS-DOS 7.0

This article was previously published under Q60132

SUMMARY

The ISAMREPR.EXE utility provided with the Professional Edition of Microsoft Visual Basic for MS-DOS, version 1.0; and Microsoft Basic Professional Development System (PDS) for MS-DOS, version 7.0 always adds at least 32K to an ISAM database file during the repair process. This is correct behavior for ISAMREPR and is documented in the following manuals:
Page 150 of the "Microsoft Visual Basic for MS-DOS Professional
                 Edition Features" manual

Page 384 of the "Microsoft Basic Professional Development System
                 7.0: Programmer's Guide"
				

MORE INFORMATION

During the repair process, ISAMREPR allocates 32K or more of extra space as "work space" for use while repairing the file. This space is automatically added to the file at the beginning, before any deleted or damaged records are found during the process. For example, if ISAMREPR is run twice on the same file, at least 64K will be added to the file, even though the repair might not have been necessary the first time. However, this added space is not "lost"; it is reused as new records or tables are added to the file.

If the size of the file becomes unmanageable because of unused space, ISAMPACK.EXE can be used to remove the unused space and reduce the size of the file.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB60132