A COBOL program running as a service in an enterprise server can call a CICS program running in the same enterprise server.
The service can be either a Web service or a service called from an EJB. The service must be configured to be container-managed.
To use this facility you need to:
- Code an EXEC CICS LINK statement in the COBOL source program.
- Compile it using an extra Compiler directive option.
- Deploy the program in the usual way, having carried out any interface mapping required to make the program accessible as a
service to client programs.
- Run the program as a service in an enterprise server. This involves invoking it from a suitable client.