This article explains what the Rebuild –d option specifies when reconstructing the index of an indexed file.
Problem:
The –d option specifies that Rebuild should reconstruct the index of an indexed file from the data area. Any corrupt data records are skipped and logged to a file. However, if rebuild is entered at the command line you get:
-d [:c] –rebuild corrupt data file
What does it do, rebuild the index or rebuild data?
Resolution:
If the data portion of the file is intact and only the index portion is corrupt, then Rebuild can generate a new index (.idx) file from the data file with no loss of data.
If the data portion of the file is corrupt then Rebuild can rebuild a complete new indexed file, both data and index portions, but there will be loss of data as Rebuild discards any corrupt data records that it encounters.
Incident Number: 2260205