DB2 Version 10.1 for Linux, UNIX, and Windows

Administration commands for the database administrator

The database administrator can run multiple commands to set up databases for Net Search Extender use.

This section describes the syntax of administration commands for the database administrator. Database administration consists of setting up databases for use by Net Search Extender and then disabling this setup.

Only the ENABLE DATABASE and DISABLE DATABASE commands are a variation of the DB2TEXT command, although all these commands allow for administration on the database level.

Command Purpose
ENABLE DATABASE command Enables the current database to create full-text indexes.
DISABLE DATABASE command Resets preparation work completed by Net Search Extender for a database.
DB2EXTHL command The DB2EXTHL command changes the maximum size of the input parameter of the highlight UDF.

Tip

If no database connection information has been specified as part of the db2text command, the db2text executable causes an implicit connection to be made to the default subsystem specified in the environment variable DB2DBDFT.