IBM DB2 Manual page 177

Table of Contents

Advertisement

MSGFILE(
ddname
|
|
|
|
|
,
,
recfm
lrecl
The maximum length of the Language Environment run-time options string in a
JAVAENV data set for Java stored procedures is 245 bytes. If you exceed the
maximum length, DB2 truncates the contents but does not issue a message. If you
enter the contents of the JAVAENV data set on more than one line, DB2
concatenates the lines to form the run-time options string. The run-time options
string can contain no leading or trailing blanks. Within the string, only blanks that
are valid within an option are permitted.
If your environment variable list is long enough that the JAVAENV content is
greater than 245 bytes, you can put the environment variable list in a separate data
set in a separate file, and use the environment variable _CEE_ENVFILE to point to
that file.
The descriptions of the parameters are:
XPLINK(ON)
Causes the initialization of the XPLINK environment. This parameter is
required.
MSGFILE
Specifies the DD name of a data set in which Language Environment puts
run-time diagnostics. All subparameters in the MSGFILE parameter are
optional. The default is
MSGFILE(SYSOUT,FBA,121,0,NOENQ)
If you specify a data set name in the JSPDEBUG statement of your stored
procedure address space startup procedure, you need to specify JSPDEBUG as
the first parameter. If the NUMTCB value in the stored procedure address
space startup procedure is greater than 1, you need to specify ENQ as the fifth
subparameter. z/OS Language Environment Programming Reference contains
complete information about MSGFILE.
ENVAR
Sets the initial values for specified environment variables. The environment
variables that you might need to specify are:
CLASSPATH
When you prepare your Java routines, if you do not put your routine
classes into JAR files, include the directories that contain those classes. For
example:
CLASSPATH=.:/U/DB2RES3/ACMEJOS
Do not include directories for JAR files for JDBC or the JDK in the
CLASSPATH. If you use a DB2JccConfiguration.properties file, you need to
include the directory that contains that file in the CLASSPATH.
DB2_BASE
The value of DB2_BASE is the highest-level directory in the set of HFS
directories that contain DB2 for z/OS code.
For example:
DB2_BASE=/usr/lpp/db2/db2910_base
,
,
blksize
NOENQ
ENQ
Chapter 5. Java stored procedures and user-defined functions
)
161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents