COBOL-generated code integration
You can generate a COBOL program to execute rules and then link it into a COBOL calling application.
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.
Generate the COBOL program in Rule Designer, Decision Center, or using an Ant command. Then integrate the generated COBOL program with a COBOL calling program and run both on a z/OS subsystem.
You can run the generated COBOL program in the following types of application:
- Batch
- CICS®
- IMS™
If you generate the code in Rule Designer, the source file resides in the directory you specified during code generation, ready to upload to z/OS. If you use Decision Center, you download the output from the Decision Center code generation process onto your local machine. If you used an Ant command, the generated COBOL program is saved to: <InstallDir>/studio/lib.