Although much of the coding of a COBOL program will be the same when running under IMS, be aware of the following recommendations and restrictions.
In COBOL, IMS message processing programs (MPPs) do not use non-IMS input or output statements such as READ, WRITE, REWRITE, OPEN, and CLOSE.
With Enterprise COBOL, you can invoke IMS facilities using the following interfaces:
You code calls to CEETDLI the same way as you code calls to CBLTDLI. CEETDLI behaves essentially the same way as CBLTDLI.
You can also run object-oriented COBOL programs in an IMS Java dependent region. You can mix the object-oriented COBOL and Java languages in a single application.