Calling Procedural COBOL from Java
This chapter describes how you can access legacy procedural COBOL programs from Java using the support provided in the com.microfocus.cobol.RuntimeSystem class.
Restriction:
This applies to native code only.
Overview - Calling Procedural COBOL from Java
Coding Your Java Program
Multi-threading Considerations
Loading a COBOL Program or Library
Using the cobcall() Methods
Examples of Calling COBOL from Java
Changing Data Members in a Java Object
Using CobolBean for Instance Data
Canceling a COBOL Program
Handling Strings from a Java Program
Pointer Class
mfjstring
CobolNational Class
Using Custom Records to Pass Group Items
Using JNI with COBOL
Example of Throwing an Exception
Parent topic:
Java and OO COBOL Interoperability
Related concepts
Calling Java from Native OO COBOL
Calling Native OO COBOL from Java
Java and OO COBOL Interoperability Options
JVM COBOL Interoperating with Java
The Wrapper Class