Configuring JVMs in IBM Db2 stored procedure
Follow these steps to configure JVMs in an IBM® Db2® stored procedure.
Before you begin
Add a JVMPROPS file if this file does not exist or modify a JVMPROPS file. For information about the description of the JVMPROPS file, see Runtime environment for Java routines.
About this task
For Java routines, the startup procedure for the Db2 stored procedure address space contains a JAVAENV DD statement. This statement specifies a dataset that contains Language Environment runtime options for the routines that run in the stored procedure address space. The following example shows how to locate the JAVAENV DD in a Db2 stored procedure address space called DB2SPJVM:
//JAVAENV DD DISP=SHR,
// DSN=DB2.COMMON.JAVAENV.V110.DRVJCC
For information about adding the enablement options, see Configuring Java Applications for Monitoring.
Procedure
Complete the following steps to configure JVMs in an IBM
Db2 stored procedure: