Documentation
(C) IBM Corp. 1996, 1999

Text Extender: Administration and Programming

TXTHESC

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

-f definition-file-name
The name of the SGML file containing the thesaurus definition. The file name must contain either the absolute path of the relative path to the file.

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.

-ccsid code-page
The code page in which the thesarus definition file is written. Currently, only code page 850 is supported.

-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 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


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]