On Wed, 26 May 2010 17:27:18 +0100, Jim McAlpine 
<jim.mcalp...@gmail.com> wrote:

----------<snip>--------------
>XPLINK(ON),
>ENVAR("JCC_HOME=/usr/lpp/db2/db2810",
>"JAVA_HOME=/u/Java6_31/J6.0",
>"JVMPROPS=/java/jvmprops")
-----------</snip>--------------------

In section 5.1.2 Run-time environment for Java routines of the DB2 V9.1 
Application Programming G & R, it states the following: 
<quote>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. 
</unquote>

It also says it should be a dataset with an lrecl of 255 and blksize of 4096.

Perhaps it is just the way it was cut and pasted, but have you tried it all on 
one line?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to