CDD/Plus CDO VERIFY — VMS CDD+_4.1A
Checks a dictionary to determine if it is structurally correct. This command finds errors in the dictionary and in the dictionary directory structure. Except for the /ALL and /REBUILD_DIRECTORY qualifiers, the VERIFY command fixes errors only when the /FIX qualifier is specified with other qualifiers. VERIFY ─┬─┬───────────>─────────────┬─┬┬───────>─────┬──┬─>anchor-name ┬─> │ ├> typebox (/)
A
L
L ──────────────────┤ │└─
>
/
C
O
M
P
R
E
S
S ─┘ └────── , <────┘ │ ├> typebox (/)
D
I
R
E
C
T
O
R
Y ────────────┤ │ │ ├> typebox (/)
N
O
D
I
R
E
C
T
O
R
Y ──────────┤ │ │ ├> typebox (/)
E
X
T
E
R
N
A
L
R
E
F
E
R
E
N
C
E ───┤ │ │ ├> typebox (/)
N
O
E
X
T
E
R
N
A
L
R
E
F
E
R
E
N
C
E ─┤ │ │ ├> typebox (/)
F
I
X ──────────────────┤ │ │ ├> typebox (/)
N
O
F
I
X ────────────────┤ │ │ ├> typebox (/)
L
O
C
A
T
I
O
N ─────────────┤ │ │ ├> typebox (/)
N
O
L
O
C
A
T
I
O
N ───────────┤ │ │ ├> typebox (/)
L
O
G ──────────────────┤ │ │ ├> typebox (/)
N
O
L
O
G ────────────────┤ │ │ ├> typebox (/)
O
R
P
H
A
N
S ──────────────┤ │ │ ├> typebox (/)
N
O
O
R
P
H
A
N
S ────────────┤ │ │ ├> typebox (/)
R
E
B
U
I
L
D
D
I
R
E
C
T
O
R
Y ────┤ │ │ └> typebox (/)
N
O
R
E
B
U
I
L
D
D
I
R
E
C
T
O
R
Y ──┘ │ └──────────────<──────────────┘
Additional information available:
anchor-name
Specifies the anchor of the dictionary to be checked.
Qualifiers
Additional information available:
/ALL/COMPRESS/DIRECTORY/EXTERNAL_REFERENCE
/FIX/LOCATION/LOG/ORPHANS/REBUILD_DIRECTORY
/ALL
/ALL The /ALL qualifier performs all of the verification options (including /FIX), except for /REBUILD_DIRECTORY.
/COMPRESS
/COMPRESS The /COMPRESS qualifier compresses the CDD$DATABASE.SNP to its original size at the time the dictionary was created. The /COMPRESS qualifier cannot be used with other qualifiers. It must be used alone.
/DIRECTORY
/DIRECTORY /NODIRECTORY (default) The /DIRECTORY qualifier checks all directory names against the stored object. When the /FIX qualifier is specified, directory names that do not refer to any stored object are removed.
/EXTERNAL_REFERENCE
/EXTERNAL_REFERENCE /NOEXTERNAL_REFERENCE (default) The /EXTERNAL_REFERENCE qualifier checks all relationships in which the owner or the member is outside this dictionary. When the /FIX qualifier is specified, the /EXTERNAL_REFERENCE qualifier fixes the errors it detects.
/FIX
/FIX /NOFIX (default) The /FIX qualifier corrects errors that are found.
/LOCATION
/LOCATION /NOLOCATION (default) The /LOCATION qualifier confirms that the dictionary is in the correct VMS directory and is correctly reference by other dictionaries on the system. When the /FIX qualifier is specified, the /LOCATION qualifier fixes the errors it detects.
/LOG
/LOG /NOLOG (default) The /LOG qualifier reports informational messages as well as error messages to SYS$OUTPUT. The /NOLOG qualifier reports only error messages.
/ORPHANS
/ORPHANS /NOORPHANS (default) The /ORPHANS qualifier causes the VERIFY command to search for objects that have no directory name and are not an owner or member of any relationship. When the /FIX qualifier is specified, it places these objects in a directory called CDD$ORPHANS. The CDD$ORPHANS directory is created during the execution of the VERIFY command. The objects in the CDD$ORPHANS directory have directory names created for them during the execution of the VERIFY command.
/REBUILD_DIRECTORY
/REBUILD_DIRECTORY
/NOREBUILD_DIRECTORY (default)
The /REBUILD_DIRECTORY qualifier deletes and recreates all directory
entries for the specified anchor. Use the /REBUILD_DIRECTORY qualifier
to recover:
o A directory system for a dictionary VAX Rdb/VMS database
(CDD$DATABASE.RDB and CDD$DATABASE.SNP files) that has been backed
up with RDO (Relational Database Operator) or RMU (Relational
Management Utility).
o A severely corrupted dictionary system that VERIFY/FIX/DIRECTORY
could not fix.
WARNING
DIGITAL recommends that you back up your dictionary before using the
/REBUILD_DIRECTORY option. You should use the /REBUILD_DIRECTORY
option only when corruption is so severe that all other options
fail.
Example
The following command checks the DISK1:[SMITH.DICT] dictionary and corrects the errors detected: CDO> VERIFY/ALL DISK1:[SMITH.DICT] CDO>