Problem:
How can an empty idx file be used for rebuilding an ISAM file with a new key structure instead of specifying every key on the rebuild command line with the -k option?
Resolution:
For IDXFORMAT"3" and IDXFORMAT"4" files:
- Copy the empty idx file to the existing dat file.
- now rebuild the data file by specifying the infile only
rebuild MyFile.dat
specifying an outfile requires the additional option /d
rebuild MyFile.dat,NewFile.dat /d
For C-ISAM files = IDXFORMAT"1", please review KB: 23664
#AcuCobol
#ServerExpress
#RMCOBOL
#COBOL
#netexpress