Execution messages provide information on the execution of BCHECK and are output to SYSOUT and SYSLST.
Consistency error messages provide information on inconsistent data or structures which are detected by BCHECK (local consistency error messages) and on inconsistent relationships between objects (global consistency error messages). They are output to SYSLST.
The global consistency error messages point, among other things, to the following consistency criteria:
type-no | Consistency criterion |
1 | Correct referencing of record or top/first table page by act-key in DBTT column |
2 | Correct chaining of records, including owner record, in a MODE IS CHAIN set |
3 | Correct chaining of records, including owner record, in a MODE IS CHAIN LINKED TO PRIOR set |
4 | Correct chaining between first and last table pages at level 0 |
5 | Correct chaining of table pages between levels |
6 | Correct chaining of table pages between levels in terms of index values |
7 | Correct chaining of table pages within one level |
8 | Correct referencing of records by level-0 table entries |
9 | Correct referencing of records by indirect CALC table entries |
10 | Correct chaining in CALC table overflow chain |
11 | Correct chaining in duplicates table overflow chain |
Table 5: BCHECK consistency criteria
Detailled information on consistency error messages can be found in the manual “Recovery, Information and Reorganization“.
number| NO EASY LOCAL CONSISTENCY ERRORS
Meaning
Small inconsistency, i.e. local error that does not impede database operation
Response
Error recovery is not essential.
number| NO FATAL LOCAL CONSISTENCY ERRORS
Meaning
Fatal inconsistency, i.e. local error that prevents correct database operation.
Response
Error recovery is essential in such cases.
number| NO GLOBAL CONSISTENCY ERRORS
Meaning
Number of global inconsistencies with respect to the consistency criteria 1-11 listed in table 5.
GLOBAL CONSISTENCY ERRORS IN TYPE-NR type-no| REF-NR ref-no...
Meaning
Reports the results of the summation check for consistency errors.
type-no identifies the consistency criteria for which BCHECK has detected inconsistencies (see table 5)
ref-no indicates the invalid record types for consistency criteria 1-8 (see table 5).
Response
Error recovery is essential in such cases.
NO GLOBAL CHECK HAS BEEN DONE
NO GLOBAL CONSISTENCY ERRORS
GLOBAL CONSISTENCY ERRORS. DO A SORTING CHECK
Meaning
These messages are with reference to consistency criteria 1-5 and 7-11 (see table 5).
NO GLOBAL INDEX-CHECK HAS BEEN DONE
number| NO GLOBAL CONSISTENCY ERRORS IN INDEX-CHECK
Meaning
These messages are with reference to consistency criterion 6; see table 5.