IBM Enterprise COBOL for z/OS frontend applications in a JMP or JBP region

The object-oriented syntax of IBM Enterprise COBOL for z/OS enables you to build COBOL applications with a main method, which can be run directly in a JMP or JBP region.

The JMP or JBP region locates, instantiates, and invokes the main method of an OO COBOL application in the same way it does for the main method of a Java™ application.

You can write an application for an JMP or JBP region entirely with OO COBOL, but a more likely use for a frontend COBOL application is to call a Java routine from a COBOL application.

When running within the JVM of an JMP or JBP region, the IBM Enterprise COBOL for z/OS runtime support automatically locates and uses the JVM to invoke methods on Java classes.

A frontend OO COBOL application with a main routine that runs in a JMP or JBP region has the same requirements as a Java program that runs in a JMP or JBP region.