Skip to main content

REBUILD.EXE does not return all data records

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

It may happen that an ISAM file is corrupted and needs to be rebuilt, but when the rebuild utility runs not all records are returned.

Resolution:

This could be caused by a physical corruption  in the data (.dat) portion of the file.

A "rebuild MyFile.dat" only builds a new IDX file and keeps the DAT file unchanged.

Use the rebuild with InFile and OutFile and the option /d to rebuild a corrupted data file:

REBUILD.EXE Infile,Outfile /d

Old KB# 4247

#netexpress
#ServerExpress
#RMCOBOL
#AcuCobol
#COBOL