There are certain restrictions on the COBOL application that mostly arise from the program being used as a self-contained component being called by remote users.
Before deciding to expose a COBOL application as a service, you must determine whether the application is suitable. Examine all the functions you intend to expose, and make sure they conform to the requirements in this section. You may need to do some restructuring.