Description
The refint tool checks the integrity of references in the database. You can also use it to repair the integrity of a corrupted database. Integrity refers to the accuracy or validity of data.
You can use these options:
-
–u/UPrint usage information.
-
–v/VPrint version information.
-
–p package combinationThe name of the package combination that is to be used.
-
–C compnrSpecify the company number.
-
–cCheck validity of references with the option. Undefined references to the specified tables are logged in the ref_undefined file.
-
–rCheck validity of references and repair reference counters. From all specified tables, the reference counters are checked and changed if required. Handled undefined references to the specified tables are logged in the ref_undefined file.
-
–l/-LfileCreates a file that contains all undefined references. If you use the option
–l, the name of this file will be ref_undefined. With the option–L, you can specify your own file name. -
–IfileCheck or repair all tables whose name appears in the file file. Each table name in file must be on a separate line. A table name might include a company number. For example, table tccom100 in company 570 is specified as tccom100570.
The
-Foption of bdbreconfig can produce such files. -
–N tableThe name of the table whose references must be checked or repaired. The table name might include a company number. For example, you can specify
–N ttadv100or–N ttadv100999. -
–sHandle specified tables only.
Examples
refint –Iref_tables –c –C100
refint –Ntimcs016 –l