IBM DB2 Manual page 178

Table of Contents

Advertisement

|
|
|
|
|
|
|
|
162
Application Programming Guide and Reference for Java
The default is /usr/lpp/db2910_base.
JCC_HOME
The value of JCC_HOME is the highest-level directory in the set of
directories that contain the JDBC driver. For example:
JCC_HOME=/usr/lpp/db2910_base
JCC_HOME must be set.
JAVA_HOME
This environment variable indicates to DB2 that the WLM environment is
for Java routines. The value of JAVA_HOME is the highest-level directory
in the set of directories that contain the SDK for Java. For example:
JAVA_HOME=/usr/lpp/java/IBM/J1.4.2
JVM_DEBUG_PORTRANGE
This environment variable specifies a range of ports that the JVM listens on
for debug connections, in the form low-port-number::high-port-number. The
default is ports 8000 to 8050. For example:
JVM_DEBUG_PORTRANGE=8051::8055
Specify JVM_DEBUG_PORTRANGE only for WLM environments that are
used for debugging Java routines.
JVMPROPS
This environment variable specifies the name of a z/OS UNIX System
Services file that contains startup options for the JVM in which the stored
procedure runs. For example:
JVMPROPS=/usr/lpp/java/properties/jvmsp
The following example shows the contents of a startup options file that
you might use for a JVM in which Java stored procedures run:
# Properties file for JVM for Java stored procedures
# Sets the initial size of middleware heap within non-system heap
-Xms64M
# Sets the maximum size of nonsystem heap
-Xmx128M
#initial size of system heap
-Xinitsh512K
For information about JVM startup options, see IBM 31-bit and 64-bit SDKs
for z/OS, Java 2 Technology Edition, Version 5 SDK and Runtime Environment
User Guide, available at:
http://www.ibm.com/servers/eserver/zseries/software/java
Click the Reference Information link.
LC_ALL
Modify LC_ALL to change the locale to use for the locale categories when
the individual locale environment variables specify locale information. This
value needs to match the CCSID for the DB2 subsystem on which the
stored procedures run. For example:
LC_ALL=En_US.IBM-037
TZ
Modify TZ to change the local timezone. For example:
TZ=PST08

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents