Before using this information and the product it supports, be sure to read the information in Appendix B. Notices.
This edition applies to version 8.2 of the following IBM DB2 Intelligent Miner products:
and to all subsequent releases and modifications until otherwise indicated in new editions.
This book explains how to install and set up the following IBM(R) DB2(R) Intelligent Miner(TM) products on the different operating systems that are supported.
If you have previous versions of Intelligent Miner products installed, see the corresponding manuals of the individual products that are listed under IBM DB2 Intelligent Miner publications. These manuals describe how to migrate to the new product version. They also introduce you to the various products and tell you how to use and administer them.
If you want to use different DB2 Intelligent Miner products on one system, see Coexistence of IM product versions for more information.
For last minute changes of the installation information, see the file release.pdf or release.htm. These files are provided on one of the product CDs.
This book is for application designers and application programmers who want to install the Intelligent Miner products on their operating systems.
You should be familiar with databases, in particular with DB2 Universal Database(TM) (DB2 UDB) and Oracle, and the structured query language (SQL). If you are a Java(TM) programmer, you must know how to call SQL statements from Java APIs. You can use any other programming language that can handle SQL.
The following abbreviations are used throughout this book:
In DB2 and Oracle, the names of the scoring methods, functions, data types, tables, and table columns are created in uppercase letters, even if you used, for example, lowercase letters.
The following table shows the highlighting conventions used in this book.
| Convention used | How it is used |
|---|---|
| Interface elements, for example, menu bars, buttons, and labels are shown in boldface. | Click OK. |
| Menu instructions are shown in boldface and sequential instructions are separated by arrows. | Click File => Export. |
| Command syntax is shown in a monospaced font. | db2 -stf idmtab.db2 |
The names of the following are shown in a monospaced
font:
|
The SQL INSERT command inserts the model into a column of the table CLUSTERMODELS, which is configured for the data type DM_ClusteringModel. |
| Variables within command syntax, which you should replace by a real value, are shown in italics between angle brackets. | For DB2:
idmdisabledb <db name> For Oracle: DM_impClasFile(<file name>) |
| Italics are used to highlight the introduction of a new term. | These functions are also referred to as user-defined functions. |
The following table shows the abbreviations used in this book.
| Abbreviation | Full form |
|---|---|
| CRM | Customer Relationship Management |
| GUI | Graphical user interface |
| ICU | International Components for Unicode |
| JRE | Java Runtime Environment |
| PMML | Predictive Model Markup Language |
| RBF | Radial Basis Function |
| RPM | Redhat Package Manager |
| SQL | Structured Query Language |
| UDF | User-defined function |
| UDM | User-defined method |
| UDT | User-defined data type |
| XML | Extensible Markup Language |
Your feedback is important in helping us to provide you with the most accurate and high-quality information possible. If you have any comments about this book:
You can use different versions of IM products on your operating system. Table 3 identifies which IM product version can coexist with each other.
|
... can coexist with ... |
IM Scoring V8.2 |
IM Modeling V8.2 |
IM Visualization V8.2 |
|---|---|---|---|
| IM Scoring V8.1 |
On Windows(R): No On UNIX(R): Yes |
On Windows: No On UNIX: Yes |
Yes |
| IM Modeling V8.1 |
On Windows: No On UNIX: Yes |
On Windows: No On UNIX: Yes |
Yes |
| IM Visualization V8.1 | Yes | Yes | Yes |
| IM Scoring V7.1 |
On Windows: No On UNIX: Yes |
On Windows: No On UNIX: Yes |
Yes |
It is recommended to use the latest version.
To install IM Modeling or IM Scoring on your operating system, you must follow these steps:
To install IM Visualization, you only need to install the product. Steps 2 to 4 are not required.
Figure 1 shows an overview of the steps that you must follow to install the IM products.
You can download DB2 fix packs.
For more information, see the corresponding documentation of the IM product. For a list of the IM library, see IBM DB2 Intelligent Miner publications.
The IM products CD-ROMs contain subdirectories for each operating system that is supported. They also contain the following subdirectories:
These tutorials are also available at this site.
To install an IM product, insert the CD-ROM that includes the operating system that you are using into the CD-ROM drive of your computer and change to the appropriate subdirectory.
The following sections describe the installation of the IM products on each of the supported operating systems:
After you have installed IM Modeling or IM Scoring on your operating system, you must enable database instances and databases, and you can verify the installation and configuration. For more information, see Configuring the database management system.
This section lists the prerequisite requirements for installing the IM products in an AIX(R) environment. It also describes how to install and uninstall the IM products.
Table 4 shows the prerequisites that are required to run the IM products on AIX operating systems.
| Operating system | Software | Hardware |
|---|---|---|
|
AIX 32-bit operating system |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 or higher 32-bit version For IM Scoring for Oracle: Oracle8i Version 8.1.6 or later, Oracle9i, or Oracle10g For IM Scoring Java Beans, Easy Mining procedures, and IM Visualization: 32-bit JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended AIX 4.3.3 or higher |
150 MB additional disk space (including the documentation in one language) On SP2(R) with DB2 ESE installation, this disk space is required on each node. Additional space for sample databases 256 MB RAM minimum |
|
AIX 64-bit operating system |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 FP 4 or higher 64-bit version For IM Scoring for Oracle: Oracle8i Version 8.1.6 or later, Oracle9i, or Oracle10g For IM Scoring Java Beans and IM Visualization: JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended For Easy Mining procedures: 64-bit JRE 1.3.1 or higher AIX 5.1 or higher |
You can use the 32-bit version or the 64-bit version of Oracle. If you use the 64-bit version of Oracle, you must configure it for 32-bit external procedures.
IM Visualization does not require a database.
To install the IM products on AIX operating systems, you must first install the product that you want to use and afterwards the appropriate license.
To install the Intelligent Miner products, follow these steps:
These steps might differ slightly depending on the AIX version installed on your system.
Table 5 shows the available software applications and the appropriate fileset.
| Software application | Fileset |
|---|---|
| IM Modeling | IMinerX_08_02.modeling |
| IM Scoring for DB2 | IMinerX_08_02_scoring.db2 |
| IM Scoring for Oracle | IMinerX_08_02.scoring.oracle |
| IM Scoring Java Beans | IMinerX_08_02.scoring.scoringbean |
| IM Visualization | IMVisualization.java.app |
| IM Conversion Utilities | IMinerX_08_02.conversion |
| IM Symbol Links Utilities | IMinerX_08_02.symbollnk |
Documentation is provided in PDF format and in HTML format.
From the list of available documentation, select the fileset of the documentation that you want to use.
Table 6 shows the available documentation and the appropriate fileset, where <language> denotes the language of the documentation. For more information, see Appendix A. Language support.
| Documentation | Fileset |
|---|---|
| IM Modeling | IMinerX_08_02.modeling.doc.<language> |
| IM Scoring for DB2 | IMinerX_08_02_scoring.db2.doc.<language> |
| IM Scoring for Oracle | IMinerX_08_02.scoring.oracle.doc.<language> |
| IM Scoring Java Beans | IMinerX_08_02.scoring.scoringbean.doc.<language> |
| IM Visualization | IMVisualization.java.doc.<language> |
| IM Installation | IMinerX_08_02.install.doc<language> |
| IM Messages | IMinerX_08_02.messages.doc<language> |
| IM Easy Mining | IMinerX_08_02.easymining.doc<language> |
After you have installed the Intelligent Miner products that you want to use, you must repeat the installation procedure to install the appropriate license keys that enable you to use the IM products. Table 7 shows the available types of licence keys.
The Try and Buy licenses expire after 90 days.
Select the fileset of the license that you want to use.
| Type of licence | Fileset |
|---|---|
| IM Modeling Try and Buy license | IMinerX_08_02.modeling.tab.license |
| Regular IM Modeling license | IMinerX_08_02.modeling.license |
| IM Scoring Try and Buy license | IMinerX_08_02.scoring.tab.license |
| Regular IM Scoring license | IMinerX_08_02.scoring.license |
Before you can use IM Modeling or IM Scoring, you must enable database instances and databases, and create sample tables. For more information, see the following chapters:
For more information, see the following documentation:
Before you can uninstall IM products on AIX operating systems, you must disable the databases and the DB2 instance. For more information, see the following documentation:
To uninstall the IM products on AIX systems, follow these steps:
This section lists the prerequisite requirements for installing the IM products on HP-UX 11i v2 (B.11.23) for Itanium operating systems.
Table 8 shows the prerequisites that are required to run the IM products on HP-UX 11i v2 (B.11.23) for Itanium operating systems.
| Operating system | Software | Hardware |
|---|---|---|
|
HP-UX 11i v2 (B.11.23) for Itanium operating system |
DB2 Universal Database Version 8.1 FP 4 For IM Scoring Java Beans and IM Visualization: 32-bit JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended |
Any HP integrity server |
IM Visualization does not require a database.
For more information about how to install the IM products, see the file release.pdf or release.htm. These files are provided on one of the product CDs.
Before you can use IM Modeling or IM Scoring, you must enable database instances and databases, and create sample tables. For more information, see the following chapters:
For more information, see the following documentation:
This section lists the prerequisite requirements for installing the IM products on Linux(R) operating systems. It also describes how to install and uninstall the IM products.
Table 9 shows the prerequisites that are required to run the IM products on Linux operating systems.
| Operating system | Software | Hardware |
|---|---|---|
|
Linux/Intel 32-bit operating system |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 or higher 32-bit operating system For IM Scoring for Oracle: Oracle8i Version 8.1.6 or later, Oracle9i, or Oracle10g For IM Scoring Java Beans, Easy Mining procedures, and IM Visualization: 32-bit JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended Red Hat Enterprise Linux 3 or Red Hat Linux 7.3 or higher or SuSe Linux Enterprise Server 8 or SuSe Linux 8 or higher |
120 MB in the /opt file system for the base product (including the documentation in one language) Additional space for sample databases 256 MB RAM minimum |
|
Linux/Intel 64-bit operating system |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 or higher 64-bit operating system For IM Scoring for Oracle: Oracle8i Version 8.1.6 or later, Oracle9i, or Oracle10g For IM Scoring Java Beans, Easy Mining procedures, and IM Visualization: 32-bit JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended Red Hat Enterprise Linux 3 or SUSE Linux Enterprise Server 8 |
|
|
Linux/zSeries 32-bit operating system |
DB2 Universal Database Version 8.1 or higher 32-bit operating system For IM Scoring for Oracle: Oracle8i Version 8.1.6 or later, Oracle9i, or Oracle10g For IM Scoring Java Beans, Easy Mining procedures, and IM Visualization: 32-bit JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended Red Hat Enterprise Linux 3 or SUSE Linux Enterprise Server 7.2 or higher |
You can use the 32-bit version or the 64-bit version of Oracle. If you use the 64-bit version of Oracle, you must configure it for 32-bit external procedures.
IM Visualization does not require a database.
To install the IM products on Linux operating systems, follow these steps:
mount /cdromIf the directory /cdrom is not listed in the file /etc/fstab, use the following command:
mount -tauto9660 /dev/<hdx> /cdromwhere /dev/hdx is your CD-ROM
drive.Table 10 shows the appropriate commands for the different IM products.
| IM product | Commands for installing IM products |
|---|---|
| IM Modeling | ./installModeling |
| IM Scoring for DB2 | ./installScoringDB2 |
| IM Scoring for Oracle | ./installScoringOracle |
| IM Visualizer | ./installVisualization |
| All IM products except IM Scoring for Oracle | ./installSDK |
If you call the commands that are shown in Table 10 without arguments, the English documentation of the corresponding products is automatically installed.
You can explicitly specify the documentation that you want to install by adding one or more locale strings as argument. For example, to install IM Modeling with the English and the Spanish documentation, use the following command:
./installModeling en_US es_ES
Note that not all locales are supported for all products. For more information about the supported locales, call the commands by including the argument -h for help. For example, to display the supported locales for IM Scoring, use the following command:
./installScoring -h
Before you can use IM Modeling or IM Scoring, you must enable database instances and databases, and create sample tables. For more information, see the following chapters:
For more information, see the following documentation:
Before you uninstall IM Scoring or IM Modeling on Linux systems, you must disable the databases and the DB2 instance. For more information, see the following documentation:
To uninstall IM products from Linux operating systems, use the appropriate command.
Table 11 shows the appropriate commands for the different IM products.
| IM product | Command for uninstalling IM products |
|---|---|
| IM Modeling | ./uninstallModeling |
| IM Scoring for DB2 | ./uninstallScoringDB2 |
| IM Scoring for Oracle | ./uninstallScoringOracle |
| IM Visualization | ./uninstallVisualization |
| IM products except IM Scoring for Oracle | ./uninstallSDK |
This section lists the prerequisite requirements for installing the IM products in Solaris Operating Environments. It also describes how to install and uninstall the IM products.
Table 12 shows the prerequisites that are required to run the IM products in Solaris Operating Environments.
| Operating system | Software | Hardware |
|---|---|---|
|
Solaris 32-bit Operating Environment |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 or higher 32-bit version For IM Scoring for Oracle: Oracle8i Version 8.1.6 or later, Oracle9i, or Oracle10g For IM Scoring Java Beans, Easy Mining procedures, and IM Visualization: 32-bit JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended Solaris Operating Environment 2.7 or higher |
200 MB of additional disk space in the /opt file system for the base product (including the documentation in one language) Additional space for sample databases 256 MB RAM minimum |
|
Solaris 64-bit Operating Environment |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 or higher 64-bit version For IM Scoring for Oracle: Oracle8i Version 8.1.6 or later, Oracle9i, or Oracle10g For IM Scoring Java Beans, Easy Mining procedures, and IM Visualization: 32-bit JRE 1.3.1 or higher For IM Visualization: JRE 1.4.1 is recommended Solaris Operating Environment 2.8: Make sure that the following patches are installed: 109147-09 108434-02 108435-02 To download the patches, go to http://sunsolve.suncom |
You can use the 32-bit version or the 64-bit version of Oracle. If you use the 64-bit version of Oracle, you must configure it for 32-bit external procedures.
IM Visualization does not require a database.
To install IM products in Solaris Operating Environments, follow these steps:
cd solaris
Table 13 shows the appropriate commands for the different IM products.
| IM product | Command |
|---|---|
| IM Modeling | ./installModeling |
| IM Scoring for DB2 | ./installScoringDB2 |
| IM Scoring for Oracle | ./installScoringOracle |
| IM Visualizer | ./installVisualization |
| All IM products except IM Scoring for Oracle | ./installSDK |
To install additional documentation packages for IM Modeling or IM Scoring, use the following command:
pkgadd -a ./admin -d ./IM82<XX>D<YY>.pkg
Where:
To install the IM Visualization documentation, use the following command:
pkgadd -a ./admin -d ./IMXViD<YY>.pkg
Where <YY> denotes one of the following languages:
For more information, see Appendix A. Language support.
Before you can use IM Modeling or IM Scoring, you must enable database instances and databases, and create sample tables. For more information, see the following chapters:
For more information, see the following documentation:
Before you can uninstall IM Modeling or IM Scoring from Solaris operating systems, you must disable the databases and the DB2 instance. For more information, see the following documentation:
To uninstall IM products from Solaris operating systems:
cd solaris
| IM products | Command |
|---|---|
| IM Modeling | ./uninstallModeling |
| IM Scoring for DB2 | ./uninstallScoringDB2 |
| IM Scoring for Oracle | ./uninstallScoringOracle |
| IM Visualization | ./uninstallVisualization |
| IM products except IM Scoring for Oracle | ./uninstallSDK |
To check whether any other documentation is installed, run the following command:
pkginfo | grep IM82SDD
pkginfo | grep IM82SDO
pkginfo | grep IM82MoD
pkginfo | grep IM82MeD
pkginfo | grep IM82EaD
pkginfo | grep IM82InD
pkgrm -n IM82SDD<YY>
pkgrm -n IM82SDO<YY>
pkgrm -n IM82MoD<YY>
pkgrm -n IM82MeD<YY>
pkgrm -n IM82EaD<YY>
pkgrm -n IM82InD<YY>
This section lists the prerequisite requirements for installing the IM products on Windows operating systems. It also describes how to install and uninstall the IM products.
Table 15 shows the prerequisites that are required to run the IM products on Windows operating systems.
| Operating system | Software | Hardware |
|---|---|---|
|
Windows 32-bit operating system |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 FP 4 or higher 32-bit version For IM Scoring for Oracle: Oracle8i (8.1.6 or later), Oracle9i, or Oracle10g Windows NT 4 SP6 or Windows 2000 SP4 or higher (Professional, Server, Advanced Server, Datacenter server) or Windows XP Professional SP1 or higher or Windows Server 2003 (Web Edition, Standard Edition, Enterprise Edition, Datacenter Edition) |
150 MB additional disk space for IM Modeling, IM Scoring, and IM Visualization including the documentation in one language Additional space for sample databases 250 MB in the Temp directory during installation 256 MB RAM minimum |
|
Windows 64-bit operating system |
For IM Modeling and IM Scoring for DB2: DB2 Universal Database Version 8.1 FP 4 or higher 32-bit version or 64-bit version For IM Scoring for Oracle: Oracle8i (8.1.6 or later), Oracle9i, or Oracle10g Windows XP 64-bit (IA-64) or Windows Server 2003 64-bit (IA-64) |
You can use the 32-bit version or the 64-bit version of Oracle. If you use the 64-bit version of Oracle, you must configure it for 32-bit external procedures.
IM Visualization does not require a database.
The IM products for Windows include Microsoft Windows Installer (MSWI). If MSWI is not installed on your operating system, or if an older version is installed, the automatic installation process installs MSWI as the first step. After the installation of MSWI, you must restart your Windows operating system.
IM provides the following executable files for installation:
To install the IM products on a Windows operating system, follow these steps:
Depending on the features that you select on the Feature selection dialog, the following directories are created, where <Installpath> is the installation path that you specified:
If IM Scoring Java Beans is selected, the Java Native Interface (JNI) DLLs are also written to this directory.
If IM Scoring Java Beans is selected, the Java archives (jar) are also written to this directory.
For IM Modeling and IM Scoring, the following system settings are used:
For IM Visualization, the system PATH environment variable is modified to include <Installpath>\IMVisualization\bin.
The installer places the Start menu shortcuts for Intelligent Miner to this location: Start => Programs => IBM DB2 => Business Intelligence Tools.
Before you can use IM Modeling or IM Scoring, you must enable database instances and databases, and create sample tables. For more information, see the following chapters:
For more information, see the following documentation:
Before you can uninstall IM Modeling or IM Scoring from a Windows operating system, you must use the idmdisabledb command to disable the DB2 databases that you have previously enabled.
For more information, see the following documentation:
Before you can uninstall IM Scoring from a Windows operating system, you must use the SQL script idm_uninstall to disable the Oracle databases that you have previously enabled.
For more information, see the following documentation:
To uninstall the IM products from a Windows operating system, follow these steps:
This chapter describes how to configure your DB2 database or your Oracle database to be able to work with IM Modeling or IM Scoring.
After you have installed IM Modeling or IM Scoring, you must enable the DB2 database management system by following these steps:
On Windows operating systems, enabling DB2 instances is not required. You can continue with Enabling DB2 databases.
A DB2 instance must have access to the libraries that contain the scoring functions for using IM Scoring or IM Modeling from that instance. You can enable a DB2 instance that administrates several databases by using the idminstfunc command.
To enable a DB2 instance as a user with SYSADM authority, follow these steps:
The idminstfunc script is stored in the bin directory of your installation. Depending on the operating system that you are using, enter one of the following commands:
Calling the idminstfunc script creates symbolic links to the following libraries in the instance owner's sqllib/function directory:
The idminstfunc script also appends the bin directory of the IM installation to the path where executable files are searched for the DB2 instance.
source ~/SQLLIB/.db2profile
For more information, see the following documentation:
IM Modeling and IM Scoring provide a set of UDTs, UDFs, UDMs, and stored procedures. Before you can use these from SQL statements, you must create them as database objects in the databases that you want to use with IM Modeling or IM Scoring.
To create database objects as a user with SYSADM or DBADM authority, you can call the idmenabledb command.
The idmenabledb command is stored in the bin directory of your IM product installation. In this command, you must specify the database name <dbname>. You can also specify several options. For example, the call of the idmenabledb command might look like this:
idmenabledb <dbname> fenced dbcfg
Where:
For more information, see the following documentation:
To ensure that the appropriate database objects are created, you can verify the installation and configuration by following these steps:
This command is stored in the bin directory of your installation. It returns the enablement status of the database. For example, an enablement status might look like this:
The database "v82dataf" is enabled for IM Scoring Version 8.2 in "fenced" mode.
db2 "values( IDMMX.DM_MiningData()..DM_defMiningData('TESTTABLE'))"
db2 "values( IDMMX.DM_applData('Test',4))"
To disable the DB2 instance, follow these steps:
After you have installed IM Scoring on your operating system, you must enable the Oracle database management system by following these steps:
Setting up Oracle for external procedures includes the following steps:
Most of the IM Scoring functions are implemented in external libraries that are called from the Oracle database. To be able to call these external libraries, you must set up the Oracle database.
On Windows operating systems, support for external procedures is typically configured by default. If Oracle is not set up for calling external procedures, the Oracle administrator must perform the required steps manually. For more information, see the Oracle Administrator's Guide.
To check whether the Oracle environment is already set up for external procedures, you must check whether the Oracle service that creates the external procedures is available by using an account whose databases are enabled.
To check whether the Oracle service is available, follow these steps:
tnsping extproc_connection_data
If you do not receive an error message, the service name for calling external procedures is set up correctly.
If you receive one of the following error messages, the listener might not be running:
If you need to start the listener manually, enter the following command on the command line:
lsnrctl start
A status message is displayed containing a section "Services Summary...". If this section contains the following line, the Oracle listener is set up correctly to launch external procedures:
PLSExtProc has 1 service handler(s)
If you receive another error message, Oracle is not configured for external procedures, or it is not correctly configured. To correct the configuration, you must update the following Oracle configuration files:
These files are typically located in the network/ADMIN subdirectory of the Oracle home directory. For more information, see the Oracle Administrator's Guide.
With 64-bit versions of Oracle9i and Oracle10g, you can run 64-bit and 32-bit external procedures. However, you cannot run both types of external procedures at the same time. You must configure Oracle either for 64-bit or for 32-bit external procedures.
IM Scoring for Oracle is a 32-bit application. By default, 64-bit versions of Oracle9i and Oracle10g are configured for 64-bit external procedures. Therefore you must change the configuration to 32-bit.
To change the configuration, you must replace the line PROGRAM = extproc with the line PROGRAM = extproc32 in the file listener.ora and restart the Oracle listener.
If you do not replace this line, the following error message is displayed when you want to call IM Scoring functions:
o ORA-06520: PL/SQL: Error loading external library
o ORA-06522:
0509-022 Cannot load module /opt/IMinerX/V8.2/lib/idmoall.
0509-103 The module has an invalid magic number.For more information, see Oracle9i Administrator's Reference, Chapter 5 "Configuring Oracle Net Services", section "Calling 32-Bit External Procedures from PL/SQL (AIX, HP, and Solaris 64-Bit version only)".
This step is not required for Oracle8i. If you are using an Oracle8i database, continue with Enabling Oracle instances.
Starting with Oracle 9i Release 2, Oracle restricts the DLLs that the external procedure agent can load. By default, the external procedure agent can load DLLs from the following directories:
IM Scoring for Oracle provides the following libraries that must be loaded into the extproc process:
After installation, these libraries are not placed in the above directories. Therefore the following error message is displayed when you call IM Scoring functions:
ORA-28595: Extproc agent : Invalid DLL Path
You can avoid this error message by modifying the file listener.ora. Typically, the file listener.ora is stored in the directory $ORACLE_HOME/network/admin.
You can specify that Oracle can load any DLLs or only the IM Scoring DLLs.
ENV="EXTPROC_DLLS=ANY"
After you have added this specification, the corresponding section in the file listener.ora looks like this:
SID_LIST_LISTENER =
(SID_LIST =
...
(SID_DESC =
(PROGRAM = extproc)
(ENV = "EXTPROC_DLLS=ANY")
(SID_NAME = PLSExtProc)
(ORACLE_HOME = ...)
)
...
) (ENV = "EXTPROC_DLLS= C:\Program Files\IBM\IMinerX\bin\idmox.dll: C:\Program Files\IBM\IMinerX\bin\idmoall.dll")
You can display the path names as they are required by Oracle by using the following SQL statement as user SYS:
select file_spec from all_libraries where owner = 'C$IBMCIDM1';
You can also use the Oracle Net Manager to modify the file listener.ora by following these steps:
ENV = "EXTPROC_DLLS=ANY"
(ENV = "EXTPROC_DLLS= C:\Program Files\IBM\IMinerX\bin\idmox.dll: C:\Program Files\IBM\IMinerX\bin\idmoall.dll")
To activate the changes that you did in the file listener.ora, enter the following command on the command line:
lsnrctl reload
This step is not required on Windows operating systems. If you are using a Windows operating system, continue with Enabling Oracle databases.
The IM Scoring functions must be able to access the Oracle library libclntsh, because the IM Scoring functions call various Oracle functions. By calling the script idm_liblink, a symbolic link is created. This link points to the Oracle library libclntsh.
Depending on the operating system that you are using, the Oracle library is located in the following directory:
To call the idm_liblink script, follow these steps:
The script reports the successful creation of the link. If the script cannot find the Oracle library, it tells you why it cannot find the library and what you must do to resolve the problem.
When you run the script idm_liblink on AIX operating systems, it might display the following error message:
Environment variable ORACLE_HOME of user oracle is not defined
If the environment variable ORACLE_HOME is correctly defined for user oracle, this error message might be displayed because bash is used as login shell for user oracle. To solve the problem, change the login shell of user oracle. For example, you might want to use the shells sh or ksh. Run the script again.
The UDTs and UDFs that are provided with IM Scoring for Oracle must be created in the databases that you want to use with IM Scoring.
To enable the default Oracle database, run the idm_setup script. It is stored in the bin directory of your IM Scoring installation. It calls SQL*Plus and runs several SQL scripts that create the necessary database objects.
You can enable another database by changing the environment variable ORACLE_SID as required and running the idm_setup script again.
For more information, see DB2 Intelligent Miner Scoring: Administration and Programming for Oracle.
To ensure that the appropriate database objects are created, you can verify the installation and configuration by following these steps:
execute IDMMX.DM_memoryFreeThe following error message indicates that the installation and configuration is correct:
There is no memory to be freed
Before you can uninstall IM Scoring for Oracle on UNIX systems, you must remove the symbolic link that is created by the script idm_liblink after the installation.
To remove the link, call the script idm_libunlink by following these steps:
The idm_libunlink script reports the successful removal of the link.
The IM documentation is provided in HTML format and in PDF format.
Table 16 shows the language versions that are provided for each of the IM manuals. An X denotes that the book is supported in the corresponding language.
|
Language Identifier |
IM Modeling |
IM Scoring DB2 |
IM Scoring Oracle |
IM Easy Mining |
IM Installing |
IM Messages |
IM Visualization |
|---|---|---|---|---|---|---|---|
|
Brazilian Portuguese pt_BR |
-- | -- | -- | X | X | X | X |
|
Czech cs_CZ |
-- | -- | -- | X | X | X | X |
|
English en_US |
X | X | X | X | X | X | X |
|
French fr_FR |
-- | -- | -- | X | -- | X | X |
|
German de_DE |
-- | -- | -- | -- | -- | X | X |
|
Hungarian hu_HU |
-- | -- | -- | X | X | X | X |
|
Italian it_IT |
-- | -- | -- | -- | -- | -- | -- |
|
Japanese ja_JP |
X | X | X | X | X | X | X |
|
Korean ko_KR |
X | X | X | -- | X | X | X |
|
Polish pl_PL |
-- | -- | -- | X | X | X | X |
|
Russian ru_RU |
-- | -- | -- | X | X | X | X |
|
Simplified Chinese zh_CN |
X | X | X | -- | X | X | X |
|
Spanish es_ES |
X | X | -- | -- | X | X | X |
|
Traditional Chinese zh_TW |
X | X | X | X | X | X | X |
IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation Licensing 2-31 Roppongi 3-chome, Minato-ku Tokyo 106, Japan
The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact:
IBM Deutschland GmbH Department 0790 Pascalstrasse 100 70569 Stuttgart Germany
Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee.
The licensed program described in this information and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement or any equivalent agreement between us.
Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurement may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment.
Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.
All statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only.
This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrates programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.
You may copy, modify, and distribute these sample programs in any form without payment to IBM for the purposes of developing, using, marketing, or distributing application programs conforming to IBM's application programming interfaces.
Each copy or any portion of these sample programs or any derivative work, must include a copyright notice as follows:
(C) (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs. (C) Copyright IBM Corp. _enter the year or years_. All rights reserved.
The following terms are trademarks of the IBM Corporation in the United States, other countries, or both:
UNIX is a registered trademark of The Open Group in the United States and other countries.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, and service names may be trademarks or service marks of others.
This bibliography lists all publications in the Intelligent Miner library other than this book, related IBM or Oracle publications that are relevant to the contents of this book, and non-IBM publications that might be useful for reference purposes.
Where appropriate, IBM publication numbers are given after the document title. This will assist you in finding the document online at the IBM Publications Center.
If you need to, download DB2 fixpacks.
To download patches, go to the SUN Solaris home page
\doc\ScoringBean\index.html