Yes thanks, I'm aware of that but I'm also thinking that we may need to
switch the runtime options back again after return from the Java program.
This is a long running batch job which sits and waits for work and could be
running all day running mostly non-java work, but occasionally having to
invoke java.  I should have explained the situation better in my original
post.

Jim McAlpine


On 1/29/07, Chase, John <[EMAIL PROTECTED]> wrote:

> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Jim McAlpine
>
> We have just started down the road of trying to invoke java
> classes from batch COBOL but have hit a problem with the 100
> character PARM field length because we need to specify
> several runtime options such as ENVAR=....,
> POSIX(ON) AND XPLINK(ON) on top of our own parameters.  Is
> there a way to change the runtime options dynamically from a
> COBOL program which is already running in an LE environment.

Code a CEEUOPT module and link-edit it into the COBOL load module.

   -jc-

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


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

Reply via email to