10 Oracle Text

This chapter describes how to install and run Oracle Text and the restrictions of this option on BS2000/OSD.

10.1 Installing Oracle Text

Oracle Text is not installed when you create a database as explained in Chapter 4, " Creating and Upgrading a Database." To install Oracle Text, you must complete the following steps:

  1. Start SQL*Plus. To avoid being prompted for many overflow acknowledgements on the screen set oflow=no:

    /tchng oflow=no
    /start-program $ORAC1120.sqlplus
    * /nolog
    connect / as sysdba
    spool catctx.log
    @$ORAC1120.ctx.admin.catctx.sql CTXSYS SYSAUX TEMP NOLOCK;

    where CTXSYS is the password for ctxsys, SYSAUX is the default tablespace for ctxsys, TEMP is the temporary tablespace for ctxsys, and LOCK|NOLOCK specifies whether the ctxsys user account is locked or not.

  2. If you are working with US english texts, then install appropriate language-specific default preferences:

    connect CTXSYS/CTXSYS

    If you are not working with US english texts, then open the drdef*.sql script according to the preferred language, set the attribute, refer to "Restrictions of Oracle Text on BS2000/OSD", and run the script.

  3. Type exit when finished.

10.2 Starting Oracle Text utilities

The Oracle Text loader utility, ctxldr, is available within the Oracle Text option. For more information about its functions and parameters, refer to Oracle Text Reference.

The following is an example of how to start the Oracle Text utility:

/start-program $ORAC1120.ctxldr
*-user scott/tiger -export -name myindex -file myfile -pk 1

10.3 Restrictions of Oracle Text on BS2000/OSD

The following restrictions apply for Oracle Text on Fujitsu BS2000/OSD:

  • No index themes, that is CTX_DDL.set_attribute ('DEFAULT_LEXER','INDEX_THEMES','NO') must be set

  • No INSO filters and InXight linguistx technology, which are licensed on special platforms only

  • No ctxkbtc, which is a knowledge base utility

  • URL_DATASTORE objects are not supported

  • FILE_DATASTORE objects may reside on native BS2000 DMS as PAM files or on the POSIX file system.