Skip to main content

Problem:

rebuild myfile -p -d receives error Too many records with duplicate keys

Error on output file - status 22 - records read = xxxxxxx

Resolution:

An output filename must be specified on the rebuild command if the -p (in place) option is specified. Make sure enough space  is in the directory or give it a directory path/outfilename where there is enough space.

The -p option instructs Rebuild to rebuild an IDXFORMAT"8" file in place. The rebuild uses less disk space, but if it fails the file is lost. You must back up the file before you attempt a rebuild with this option.

Old KB# 2128

#ServerExpress
#RMCOBOL
#COBOL
#netexpress
#AcuCobol