verify-index

verify-index


verify-abs Index Level verify-system
Syntax verify-index file.reference a.code {(options)}  
verify-index file.reference * {(options)}  
verify-index ?
Category TCL
Type Verb
Description verifies the integrity of one or all b-tree indices in a given filename.

"a.code" specifies the "a (algebraic)" processing code to be used in forming the keys to the index. The processing code must include an attribute number.

The "*" (asterisk) designates all indices.

A "?" displays on-line help for this command.

With no options specified,  the process examines each item in the file and verifies each of the indicies specified. A counter displays on the screen for monitoring the progress of the "verify-index".
Options c  Compares the file to the index only.

e  Creates an error log. When this option is specified, the command will prompt for the error log file and item.  (Only available on releases 6.1.0 and above.)

f  Displays link and node-id's during verification.

i  Displays item-id's.

k  Verifies links and nodes.

l  Locks each data item as it is verified.

m  Suppresses all messages.

o  Reports missing item-id's and locates items indexed in the wrong place. While using this option makes the process run slower, it increases the reliability and effectiveness of the process.

p  Directs report to system printer, via the Spooler.

r  Inhibits index recreation on link error.

s  Suppresses display of item counter.

v  Verifies that the data exists for the given indices. This is used in the case where the index contains pointers to item-id's which have been deleted. This is not normal.

x  Suppresses automatic fix of bad indices. This option produces a report only.

z  Stops processing after link and node verification.
See Also create-index nframe-index b-tree vi.dump clear-index indexer i (index, File-defining Item) a (algebraic) delete-index KEY
Example verify-index entity a1
Verifies the index on attribute 1 (one) of the "entity" file.

verify-index entity * (o
Validates all indexes in the "entity" file.
Warnings
Compatibility D3 7.0 AP AP 6.1
verify-abs Index Level verify-system