Calling a CICS wrapper program to integrate the code
If you use the CICS® usage option when you generate the COBOL code, you must also update the CICS calling program so that it calls the wrapper program to execute the COBOL program for rule execution.
About this task
The COBOL code generation feature is deprecated in V8.5. This feature will be removed in a
future release of the product. Use the COBOL Generation Project Migration
wizard to migrate your Rules for COBOL project to a zRule Execution
Server for z/OS compatible rule project. See Deprecated features for migration details.
If you want to host the generated COBOL program in a different CICS region to the calling application, you can use the CICS usage option. In this case, the COBOL code generator generates a CICS wrapper program, as well as the COBOL code for rule execution. If you use the CICS usage option, you must also update the CICS calling program so that it calls the wrapper program to execute the COBOL program for rule execution.
Procedure
To update the CICS calling program:
Results
You can now translate, compile and link the calling program,
the wrapper program, and the generated COBOL code. This action is
slightly different from a normal COBOL compile because all the EXEC
CICS statements must be translated to compile the code successfully.