An Introduction to IMS: Your Complete Guide to IBMs Information Management System

IMS Enterprise COBOL for z/OS and OS/390 Version 3 Release 2 supports interoperation between COBOL and Java languages when running in a JMP or JBP region. With this support, you can:

  • Call an object-oriented (OO) COBOL application from an IMS Java application by building the front-end application, which processes messages, in Java and the back end, which processes databases, in OO COBOL.

  • Build an OO COBOL application containing a main routine that can invoke Java routines.

Restriction:

COBOL applications that run in an IMS Java dependent region must use the AIB interface, which requires that all PCBs in a PSB definition have a name.

You can access COBOL code in a JMP or JBP region because Enterprise COBOL provides object-oriented language syntax that enables you to:

  • Define classes with methods and data implemented in COBOL

  • Create instances of Java and COBOL classes

  • Invoke methods on Java and COBOL objects

  • Write classes that inherit from Java classes or other COBOL classes

  • Define and invoke overloaded methods

Related Reading: For details on building applications that use Enterprise COBOL and that run in an IMS Java dependent region, see IMS Version 9: IMS Java Guide and Reference and Enterprise COBOL for z/OS and OS/390: Programming Guide.

Категории