Installing and configuring text search functions

Before you can start using text search functions, you need to enable and configure text search support on a Db2 subsystem, and install and configure a text search server.

Before you begin

Ensure that your systems meet the requirements. For more information, see System requirements for enabling text search support and System requirements for installing a text search server.

About this task

You can complete some of the steps for installing and configuring text search functions in a different order than is specified in this information. For example, you can choose to populate the SYSIBMTS.SYSTEXTCONNECTINFO administration table with the Db2 for z/OS® connection information before you populate the server information columns in the SYSIBMTS.SYSTEXTSERVERS administration table.

Procedure

To install and configure text search functions:

  1. Use one of the following methods to install the text search server on either a Linux®, Linux on IBM Z®, or Windows server:
    If Security-Enhanced Linux (SELinux) causes the installation of text search server to fail on Linux, see Resolving an installation failure caused by Security-Enhanced Linux.
  2. Configure the text search server by using the configuration tool.
  3. Start text search functions by running a program that calls the SYSPROC.SYSTS_START stored procedure.
  4. On your Db2 for z/OS subsystem, install all of the APARs and PTFs for enabling text search support.
  5. Enable text search support for Db2 for z/OS by completing the configuration steps.
  6. Set up the WLM environment for running the administration stored procedures and the user-defined function.
  7. Populate the text search administration tables.
  8. Verify the installation.

What to do next

You can a text search index. For more information, see Creating a text search index.