Workflows that start from a COBOL copybook
To execute your rules in a COBOL application on z/OS®, you can generate your XOM from a COBOL copybook.
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.
When you generate a XOM from a COBOL copybook, the XOM you generate comprises a Java™ XOM project. This Java XOM project provides the required Java structures for the Java objects to COBOL data conversion at run time.
You do not use the COBOL XOM for COBOL code generation, but when you create the BOM from the COBOL XOM, it generates the custom properties that are required to generate the code.
The following table shows the differences between the steps you perform in Rule Designer, depending on whether you want to execute your rules in a server environment (Rule Execution Server on WebSphere® Application Server or zRule Execution Server for z/OS) or in Enterprise COBOL.
| Environment | BOM methods and mapping | Orchestrate® | Author/Review | Deploy and integrate |
|---|---|---|---|---|
Rule Execution Server on WebSphere Application Server zRule Execution Server for z/OS |
Implement:
|
You use ruleflows to organize your rules into the sequence in which they must execute by using rule tasks to group the rules. |
You can create and maintain rule artifacts in Rule Designer or Decision Center. When you create your rule project, or if a rule project is modified, you can review it by exploring and analyzing its contents. See Reviewing a rule project. |
|
Enterprise COBOL |
Custom properties for COBOL code generation are automatically added to the BOM. Implement:
|
You can use most of the ruleflow features available in Rule Designer. For information about limitations, see Ruleflows and COBOL code generation . |
You can create and maintain rule artifacts in Rule Designer or Decision Center. A few authoring features are not available. See Rule authoring for COBOL compatibility. You can optimize decision table execution using the ‘Exit on first match’ feature. See Improving the performance of the COBOL program decision table. You can review your rules (optional). See Reviewing a rule project. |
|
The following task flow illustrates the main high-level tasks that you perform, from rule project design to rule execution on z/OS. In this scenario, your starting point is a COBOL copybook. You want to generate a COBOL program and integrate it into a COBOL calling program.

Some tasks are subject to certain constraints or COBOL-specific requirements. For information about such requirements, see COBOL considerations for rule application development.