Distributed Computing
Table of Contents
Index
Chapter 2: Calling Procedural COBOL from Java
2.1 Overview
2.2 Setting Up
2.3 Coding Your Java Program
2.3.1 Multi-threading Considerations
2.3.2 Loading a COBOL Program or Library
2.3.3 Using the cobcall() functions
2.3.4 Examples of Calling COBOL from Java
2.3.5 Changing Data Members in a Java Object
2.3.6 Canceling a COBOL Program
2.4 Handling Strings from a Java Program
2.5 Using JNI with COBOL
2.5.1 Example of Throwing an Exception
2.6 Demonstration Programs