MODE (Data Integrity Checking)
- Last UpdatedFeb 22, 2022
- 1 minute read
Function:
Specifies what happens when the Data Integrity Checker (DICE) finds an error.
Note:
This command should only be used when running DICE in stand-alone mode (or REMOTE CHECK). For DICE checking within a Project, use the CHECKOPTION command.
Description:
There are two types of DB fault detected by DICE:
-
An error is identified if the DB is corrupted internally.
-
A warning is identified if DICE encounters, for example, a fault with a reference to an external DB.
In BRIEF mode, checking is stopped when the first error is encountered; that is, DICE simply determines whether or not the DB is corrupt. This is the default mode.
In FULL mode, DICE continues checking the whole DB or file, listing all errors and warnings, until a prescribed maximum error or warning count is exceeded, when checking of that DB is abandoned. Occasionally DICE will stop before processing the whole DB. This will happen when the error is so severe that it is not worth continuing; for example, if a Database has been truncated.
The default setting for the maximum error count and maximum warning count is 50, but the administrator can specify different numbers by using the MAXERRORS and MAXWARNINGS commands, respectively.
Examples:
|
MODE BRIEF |
|
MODE FULL |
Command Syntax:
|
>--- MOde ---+--- BRief ---. |
The default is BRIEF mode.
Related Commands: