IBM Support

Example of COBOL calling Java.

Product Documentation


Abstract

Need to show how Enterprise COBOL can invoke Java using a full example,

Content

Chapter 16 of the Enterprise COBOL for z/OS Programming Guide SC23-8529-01 explains how to use JNI interface between COBOL and Java. It gives a sample program called TSTCOBOL. The entire job, input and output, is shown below in the two attachments beneath Related Information.

Original Publication Date

20 January 2011

Related Information

[{"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Documentation","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"4.1;4.2","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}}]

Document Information

Modified date:
08 August 2018

UID

swg27020750