Creating a copybook-based ruleset for zRule Execution Server for z/OS
In Rule Designer, you can use a COBOL copybook as the basis for your XOM, and deploy your ruleset to zRule Execution Server for z/OS so that you can execute it from a COBOL application.
What you learn
A fictitious loan company uses a large COBOL application running on z/OS® to validate loan applications. In this tutorial, the company decides to use business rules to test customer eligibility for their loans.In this tutorial, you learn how to do these tasks:- Import an existing rule project named reszminiloan
If you already have a rule project named reszminiloan in your workspace, either switch to a different workspace or choose a different name.
- Create a XOM from the sample COBOL copybook provided with this tutorial
- Create a BOM based on the XOM
- Add two rule packages: eligibility and validation
- Add methods to the BOM so that you can specify conditions and actions in your rules, and map them to the XOM
- Add a rule flow to control rule execution
- Write a set of rules
- Deploy your rules for rule execution to zRule Execution Server for z/OS. They are called by a COBOL application that is also running on z/OS.