Documentation
(C) IBM Corp. 1996, 1999

Text Extender: Administration and Programming


Handles for external files

Text Extender can search not only in text stored in DB2 UDB tables, but also in text files stored elsewhere. Enabling external text files describes the preparation step that makes it possible to search in text documents that are not stored in DB2 UDB tables. In this step, the ENABLE TEXT FILES command creates a handle column of type DB2TEXTFH for external-file handles. The handle column is added to an existing table.

You could, for example, create a table that contains columns for the name of the author and for the date when the document was created.

You initialize the files' handles using INIT_TEXT_HANDLE. Each handle contains not only a document ID, the name and location of the associated index, and the document information (CCSID, format, and language), but also the reference to the external file.


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