Overview of Rebuild command line options

The general format of the Rebuild command line is:

rebuild in-file [,out-file] [options]

Both in-file and out-file must include the filename extension. The filename of out-file must not be the same as in-file. To implement filename mapping, you can use environment variables in place of in-file or out-file.

Note: On UNIX systems, Rebuild options must be preceded by a hyphen (-) character rather than a slash (/) character (or two hyphen characters in the case of //q and //v.

The following list shows all the available options, giving a brief description of each one:

Option Area of Rebuild
Rebuild Options - /c Specify file compression.
Rebuild Options - /d Reconstruct an index from the data area of an indexed file.
Rebuild Options - /e Report illegal duplicate keys.
Rebuild Options - /f Validate indexed files.
Rebuild Options - /i Display information about the files being processed.
Rebuild Options - /k Define the key structure for an indexed file.
/m Reserved for future use.
Rebuild Options - /n Display information about a file (no other processing is performed).
Rebuild Options - /o Specify the organization of the input and output file.
Rebuild Options - /p Rebuild IDXFORMAT"8" files in place (that is, no backups).
/q No longer supported.
Rebuild Options - /r Define the record structure of the input and output files.
Rebuild Options - /s Specify the format of the input file.
Rebuild Options - /t Specify the format of the output file.
Rebuild Options - /u Attempt to recover a file for which the last update operation was not completed.
Rebuild Options - /v Display a record count which is incremented as the file is processed.
Rebuild Options - /x Specify the order in which data is written when reorganizing an indexed file.
Rebuild Options - /y Ignore file size discrepancy errors and force rebuild to proceed.
Rebuild Options - /z Instructs Rebuild to use a Fileshare server for file access
Rebuild Options - //q Prevent display of banners.
Rebuild Options - //v Display version number of Rebuild program.

Notes

Warnings

For more information about Rebuild, see the chapter Rebuild in your File Handling book.