Before you enable the warehouse transformers, you must:
The DB2 Application Development Client includes the JDK for AIX, OS/2, and Windows NT.
For more information, see the Installation and Configuration Supplement.
To obtain and install the JDK for the Solaris Operating Environment, go to http://www.sun.com/java/products/platform.html and follow the instructions provided.
This section contains steps for updating environment variables on Windows NT, AIX, and the Solaris Operating Environment.
To update the Path and CLASSPATH environment variables:
For example, you might add C:\SQLLIB\FUNCTION;C:\SQLLIB\JAVA\DB2JAVA.ZIP; to your CLASSPATH variable.
Make sure that the current directory is in the CLASSPATH variable by entering the following command:
$ echo $CLASSPATH
For example:
.:/INSTHOME/sqllib/java/db2java.zip
where /INSTHOME is the home directory of the instance owner.
Enter the following commands to change the CLASSPATH variable:
CLASSPATH=.:$CLASSPATH export CLASSPATH
Make sure that the PATH variable includes /sqllib/bin. For example:
/INSTHOME/sqllib/bin
where /INSTHOME is the home directory of the instance owner.
Make sure that the LIBPATH variable includes /sqllib/lib. For example:
/INSTHOME/sqllib/lib
where /INSTHOME is the home directory of the instance owner.
Update the db2profile file, located in the sqllib subdirectory (for example, /home/db2inst1/sqllib), to include jdk11_path/lib/sparc/native_threads in the LD_LIBRARY_PATH variable, where jdk11_path is the subdirectory where the JDK is installed.
Make sure that the current directory is in the CLASSPATH variable by entering the following command:
$ echo $CLASSPATH
For example:
.:/INSTHOME/sqllib/java/db2java.zip
where /INSTHOME is the home directory of the instance owner.
Enter the following commands to change the CLASSPATH variable:
CLASSPATH=.:$CLASSPATH export CLASSPATH
Make sure that the PATH variable includes sqllib/bin. For example:
/INSTHOME/sqllib/bin
where /INSTHOME is the home directory of the instance owner.
To update the database manager configuration, use the DB2 Command Line Processor to change the following database settings:
UPDATE DATABASE MANAGER CONFIGURATION USING JDK11_PATH path
UPDATE DATABASE MANAGER CONFIGURATION USING JAVA_HEAP_SZ 4096
To update the database configuration for the target database, use the DB2 Command Line Processor to set the default application heap parameter (APPLHEAPSZ) for this database to 1024:
UPDATE DATABASE CONFIGURATION FOR warehouse_database_name USING APPLHEAPSZ 1024