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

Notes

Warnings

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