Access
-
Customizer → Databases → Check Database Consistency
Information
-
In this module, different objects (I-texts, hyperlinks, object protection, relations) can be checked for data consistency or incorrect data for each database instance.
-
The I-text check displays whether there are I-texts that are incorrect, unused, or used twice.
-
I-text correction (check and write I-texts) first checks whether there are incorrect or unused I-texts and thereafter corrects them in accordance with the table below.
-
The hyperlink check shows whether there are hyperlinks that are incorrect, unused, or used twice.
-
The hyperlink correction (check and write hyperlinks) first checks whether there are incorrect or unused hyperlinks and thereafter corrects them in accordance with the table below.
-
The Relation check shows, at which positions parent records of records are missing in the database.
-
The object protection check shows at which positions in the database the Object Protection is incorrect.
-
The dash record check shows whether there are records with "-" in the database that may temporarily be "ZERO".
-
The dash record correction (check and write dash records) first checks whether there are records with "-" in the database and thereafter corrects them in accordance with the table below.
-
Details
-
The module shows the database instances and database views saved and activated under the current license (Active checkbox = ).
Procedure
-
Select the required check-value for the required database from the Consistency check listbox.
-
Click on the Carry out checks button.
-
The respective database instances will be checked.
-
A file with the following structure will be created:
-
[Type]_check_[SchemaNameQ1-7B]_[Date]_[Time].chk or [Type]_fix_[SchemaNameQ1-7B]_[Date]_[Time].chk
-
Example:
iText_Hyperlink_Relation_and_Object_check_Q3B_21092015_143656.chk / iText_and_Hyperlink_fix_Q3B_21092015_143656.chk
-
-
-
This file is stored in the Log folder in the PLANTA work directory.
-
The work directory is listed in the System Information module (callable via the (? (Help) → System Information menu item in the menu bar).
-
-
The created ASCII file can be opened via a text editor (e.g. Notepad).
-
|
See also: System Parameters and Database Instance Parameters |
Log File Analysis
General Output Information
|
Error type |
Error output example |
Description |
|---|---|---|
|
|
|
Parent category for elements with incorrect files,
|
|
|
|
|
I-Text Check/Correction
Legend for the example
-
[Location (schema or DT-ID.DI-ID] ([Number of incorrect records]) [List of the I-text IDs of all incorrect I-texts]
|
Error type |
Error output example |
Description |
Autom. correction |
Manual correction |
|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
Incorrect values in the Data item, Data Data Table, or Record ID field, e.g. incorrect values in I-text 687 in DI000456 in DT441 |
Missing or incorrect data is automatically corrected. |
Not required. |
|
|
|
|
|
|
|
|
|
I-texts that are used twice |
A new I-text with the same values will be created and the reference will use it instead of the old I-text |
Not required. |
|
|
|
|
|
|
|
|
|
I-texts which do not exist in the I-text table |
I-text field of the reference value is set to empty |
Not required. |
|
|
|
|
|
|
|
|
|
I-texts that are not used |
I-text will be deleted |
Not required. |
Hyperlink Check/Correction
|
Error type |
Error output example |
Description |
Autom. correction |
Manual correction |
|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
Hyperlinks that are used mutliple times |
A new hyperlink with the same values will be created and
|
Not required. |
|
|
|
|
|
|
|
|
|
Hyperlinks that are ot used |
Hyperlinks will be deleted |
Not required. |
|
|
|
|
|
|
|
|
|
Hyperlinks which do not exist in the hyperlink DT |
I-text field of the reference value is set to empty |
Not required. |
|
|
|
|
|
|
|
|
|
Hyperlinks with missing display text |
New text is generated from HL-URL if there is one.
|
Not required. |
|
|
|
Hyperlinks with missing URL |
New URL is generated with the help of the display text
|
Not required. |
|
|
|
Hyperlinks the reference of which is incorrect |
Reference data are entered |
Not required. |
|
|
|
Hyperlinks with incorrect file size
(only for File in DB HL type) |
The character length of the BLOBs is entered |
Not required. |
|
|
|
Hyperlinks with incorrect (BLOB)
(only for File in DB HL type) |
None |
Correct data. |
|
|
|
Hyperlinks with incorrect check value (CRC)
(only for File in DB HL type) |
|
Not required. |
Object Protection Check
Information on object protection
Note
-
Empty data tables are not checked.
-
Data tables without Pos. OS are not checked.
|
Error type |
Error output example |
Description |
Autom. correction |
Manual correction |
|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
Data table has no object protection Dis but the Pos. OS field is filled |
None |
Enter object protection or clear Pos. OS.
In the DB pos. field of the Created on DI, the DB pos.
|
|
|
|
|
|
|
|
|
|
Data table has object protection Dis but they do not contain data |
None |
Correct data |
|
|
|
|
|
|
|
|
|
Values in "Owner", "Group", or "Any" are not between 0 and 7. |
None |
Correct data. |
|
|
|
Types of the object protection DIs are in the wrong order. |
None |
Object Protection
-DIs must be in the data table in the
|
|
|
|
Creation date is empty |
None |
Correct data. |
|
|
|
Modification date is empty |
None |
Correct data. |
|
|
|
Creation user not set |
None |
Correct data. |
|
|
|
Modification user not set |
None |
Correct data. |
|
|
|
No license available or license incorrect
|
None |
Correct data. |
Relation Check
|
Error type |
Error output example |
Description |
Automatic correction |
Manual correction |
|---|---|---|---|---|
|
|
|
Information that no relation check is carried out for this data table since the data table has no parent data table |
None |
None, since there are no errors |
|
|
|
There is/are one/multiple records in the first-mentioned data table which does/do not exist in the second-mentioned, parent data table.
|
None |
Check the records on the database with the specified select (or customize direct modules to the respective data table alternatively), check records and delete the obsolete child records, or recreate the parent records. |
|
|
|
|
|
|
|
|
|
In the relation of DT461 no start or end DI has been specified |
None |
Enter start or end DI |
|
|
|
Start or end DI has the wrong length |
None |
Enter (six-digit) DI number |
Dash Record Check/Correction
|
Error type |
Error output example |
Description |
Autom. correction |
Manual correction |
|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
List of all records which reference a dash record. |
Change of the respective column to "Zero". |
Not required. |
|
|
|
|
|
|
|
|
|
List of all records which contain a dash record. |
Deletion of the dash records. |
Not required. |