Workflows that start from a Java XOM
If your rule project already contains a BOM generated from a Java™ XOM, you can adapt the BOM so that you can execute your rules in COBOL applications, as well as in Java.
To make this possible, you carry out the following tasks:
-
Enable the BOM for COBOL data structures.
-
Generate a COBOL copybook from the BOM. The BOM structures and data types translate into corresponding COBOL structures and types in the copybook.
The following table shows the steps that you do in Rule Designer, depending on whether you want to execute your rules in a server environment or in Enterprise COBOL.
| Environment | BOM methods and mapping | Orchestrate® | Author/Review | Deploy and integrate |
|---|---|---|---|---|
| zRule Execution Server for z/OS |
Implement BOM to XOM mapping. |
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 use all the ruleflow features available in Rule Designer. |
You can create and maintain rule artifacts in Rule Designer or Decision Center. When you have created your rule project, or if a rule project has been modified, you can review it by exploring and analyzing its contents. |
For zRule Execution Server for z/OS, you deploy the RuleApps and the COBOL XOM to z/OS®. You call the rules from a COBOL application (batch or CICS®). |
Enterprise COBOL |
Copybook generation adds custom properties to the BOM to enable Java to COBOL mapping. Implement:
|
You can use most of the ruleflow features available in Rule Designer. |
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 by using the ‘Exit on first match’ feature. You can review your rules (optional). See Reviewing a rule project. |
|
The following workflow shows the high-level tasks that you do, from rule project design to rule execution on z/OS. In this scenario, your starting point is a Java BOM. You want to deploy your rules to zRule Execution Server for z/OS, and call them from a COBOL application.

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