Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Examples of program structures z/OS Batch Runtime Planning and User's Guide SA23-1376-00 |
|
This section demonstrates several types of program structures and interaction between COBOL Java™, and z/OS Batch Runtime. Figure 1 shows an overview
of a COBOL program that interacts with a Java program.
In this example, the program flow starts in COBOL and then flows to
a Java program and to another
COBOL program. OOCOBOL methods are not used; however, the programs
use both COBOL JNI and user JNI.
Figure 1. Example: COBOL program calling Java and unmodified COBOL
In Figure 2, a Java program flows to a COBOL program. In this
example, the Java program uses
an OOCOBOL factory wrapper to call COBOL.
Figure 2. Example: Java program using OOCOBOL to call COBOL
|
Copyright IBM Corporation 1990, 2014
|