This command compiles an Ngram thesaurus definition file. This thesaurus can be used only for searches on Ngram indexes.
Authorization
(UNIX only) None.
Command syntax
>>-txthesn--+- -ccsid--code-page--- -f--definition-file-name--+->< +- -quiet-----------------------------------------+ '-+- -h---------+---------------------------------' +- -H---------+ +- -?---------+ '- -copyright-'
Command parameters
The thesaurus dictionary is generated in the same directory as the definition file. It has the same name as the definition file but with the extensions wdf, wdv, grf, grv, MEY, ROS, NEY, SOS, and lkn, where n is a digit.
Tip |
---|
Because thesaurus files are overwritten when they have the same names, you should use a separate directory for each thesaurus. |
Usage notes
Use this command to compile a thesaurus definition file into a binary thesaurus definition format. The definition file must be in the format described in Creating an Ngram thesaurus.
To use a compiled thesaurus file, move it to the dictionary directory of the server instance, then specify the location of the files during searching.
The dictionary directory on OS/2 and Windows systems is:
drive:\dmb\db2tx\dict
On AIX, HP-UX, and SUN-Solaris systems, the dictionary directory is:
DB2TX_INSTOWNER /db2tx/dicts