This command compiles a thesaurus definition file. This thesaurus can be used only for searches on precise or linguistic indexes.
For compiling an Ngram thesaurus definition file, see TXTHESN
Authorization
(UNIX only) None.
Command syntax
>>-txthesc--+- -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 th1 through th6.
Tip |
---|
Because thesaurus files are overwritten when they have the same names, use a separate directory for each thesaurus. |
Usage notes
Use this command to compile a standard thesaurus definition file into a binary thesaurus definition format. The definition file must be in SGML format.
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