DB2EXTTH (Utility)

This independent utility compiles a thesaurus definition file. After running the thesaurus compiler, the THESAURUS-related features of the search argument syntax can be used.

Authorization

None. This command is not necessarily restricted for the table owner, but makes only sense in the context of querying.

Command syntax

Read syntax diagramSkip visual syntax diagram>>-db2extth----------------------------------------------------->

>--+-+-------+-- -ccsid--code page-- -f--definition-file-name-+-><
   | '-quiet-'                                                |
   +- -h------------------------------------------------------+
   +- -H------------------------------------------------------+
   +- -?------------------------------------------------------+
   '- -copyright----------------------------------------------'

Command parameters

-f definition-file-name
The name of the file containing the thesaurus definition. The file name must contain either the absolute path or the relative path to the file. The file name is restricted to 8+3 characters, the extension being optional.

The thesaurus dictionary is generated in the same directory as the definition file and has the same name. The only difference is that the dictionary has the following extensions: wdf, wdv, grf, grv, MEY, ROS, NEY, SOS, and Ikn, where n is a digit. Note that if existing thesaurus files have the same name, they are overwritten.

-ccsid code page
The code page in which the thesaurus definition file is written. See Appendix L. Thesaurus supported CCSIDs for a list of the supported code pages for a thesaurus.
-quiet
Output information is not displayed.
-copyright
Returns the internal build number of the product. Use this number when reporting problems.
-h, -H, or -?
Displays help information.

Usage

Use this command to compile a thesaurus definition file into a binary thesaurus definition format.

Note

The format is the same as in DB2 Text Information Extender Version 7.2 with the following changes:

For additional information, see Using a thesaurus to expand search terms.