Documentation
(C) IBM Corp. 1996, 1999

Text Extender: Administration and Programming

TXTHESN

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

-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 is optional.

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.

-ccsid code-page
The code page in which the thesarus definition file is written. For a list of the supported code pages, see Ngram index.

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


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