Run-Time Environment For Java Routines - IBM DB2 Manual

Table of Contents

Advertisement

Procedure Name
Start Parameters
Limit on starting server address spaces for a subsystem instance

Run-time environment for Java routines

For Java routines, the startup procedure for the stored procedure address space
contains a JAVAENV DD statement. This statement specifies a data set that
contains Language Environment run-time options for the routines that run in the
stored procedure address space.
Create the data set for the run-time options with the characteristics that are listed
in the following table.
Table 24. Data set characteristics for the JAVAENV data set
Primary space allocation
Secondary space allocation
Record format
Record length
Block size
After you create the data set, edit it to insert a Language Environment options
string, which has this form:
ENVAR(
XPLINK(ON),
160
Application Programming Guide and Reference for Java
This name must match the name of the JCL startup procedure for the stored
procedure address spaces that are associated with this application
environment.
If the DB2 subsystem in which the stored procedure runs is not in a Sysplex,
the DB2SSN value must match the name of that DB2 subsystem. If the same
JCL is used for multiple DB2 subsystems, specify DB2SSN=&IWMSSNM.
The NUMTCB value depends on the type of stored procedure you are running.
For running Java routines, the maximum value that you specify should be
between 5 and 8.
The APPLENV value must match the value that you specify on the CREATE
PROCEDURE or CREATE FUNCTION statement for the routines that run in
this application environment.
Specify 1 (no limit).
Related concepts
"WLM address space startup procedure for Java routines" on page 158
"Run-time environment for Java routines"
"Environment variables for the IBM Data Server Driver for JDBC and SQLJ" on
page 415
,
"
environment-variable = setting "
1 block
1 block
VB
255
4096
),

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents