Running OO applications that start with a COBOL program
If the first routine of a mixed COBOL and Java™ application is a COBOL program, run the application by specifying the program name at the command prompt. If a JVM is not already running in the process of the COBOL program, the COBOL run time automatically initializes a JVM.
To customize the initialization of the JVM, specify options by setting the COBJVMINITOPTIONS environment variable. Use blanks to separate options. For example:
export COBJVMINITOPTIONS="-Xms10000000 -Xmx20000000 -verbose:gc"
related tasks
Using Java SDKs for z/OS
Running COBOL programs under z/OS UNIX
Setting and accessing environment variables
Using Java SDKs for z/OS
Running COBOL programs under z/OS UNIX
Setting and accessing environment variables
related references
IBM® SDK for Java - Tools Documentation
WebSphere® for z/OS: Applications (Java Naming and Directory Interface (JNDI))
IBM® SDK for Java - Tools Documentation
WebSphere® for z/OS: Applications (Java Naming and Directory Interface (JNDI))