Developing client applications
You must create a client application to execute rules on zRule Execution Server for z/OS® and Rule Execution Server on WebSphere® Application Server for z/OS.
- Workflow for developing applications
To develop and run a z/OS application (COBOL or PL/I application) that executes rulesets on IBM® Decision Server for z/OS, add API calls to the z/OS application to connect to the server, execute rulesets, and disconnect from the server. Then include an API stub in your load module to resolve the API calls to the external libraries. - Deploying RuleApps and XOMs
To execute rules on IBM Decision Server for z/OS, you must deploy RuleApps and XOMs that have the necessary Java™ classes to the persistence layer. If you deploy them to a shared persistence layer, zRule Execution Server for z/OS and Rule Execution Server on WebSphere Application Server for z/OS instances can execute the same rules. - Adding API calls to a z/OS client application
To enable a z/OS application (COBOL or PL/I application) to execute rulesets on IBM Decision Server for z/OS, you must include calls to the necessary APIs. - Resolving API calls from z/OS clients statically
Resolve the IBM Decision Server for z/OS API calls in your z/OS application (COBOL or PL/I application) by including an API stub in your load module. - Resolving API calls from z/OS clients dynamically
Instead of link-editing the Operational Decision Manager API stub program with your object code, you can dynamically call the stub from within your program. This can increase the portability of your program as you are able to use the same program in batch, IMS, and CICS® environments without link-editing the program again. - COBOL rule subprograms
When you choose the COBOL rule subprogram option to execute your rules, you retain your existing applications and architecture, and continue to execute rules in COBOL where you currently run your COBOL applications. - Enabling applications to call zRule Execution Server for z/OS
To call a deployed ruleset, add API calls to your z/OS application (COBOL or PL/I application) to connect to zRule Execution Server for z/OS, execute the ruleset, and disconnect from the server. Then, add an API stub to your load module to resolve the API calls to external libraries. - Enabling applications to call Rule Execution Server on WebSphere Application Server for z/OS through WOLA
To call a deployed ruleset, add API calls to your z/OS application (COBOL or PL/I application) to connect to WebSphere Optimized Local Adapters (WOLA) and Rule Execution Server, execute the ruleset, and disconnect from the server. Then, add an API stub to your load module to resolve the API calls to external libraries. - Optional: Adding API calls to a z/OS client application to send batched requests
Instead of sending a single set of parameters, you can send a batch of parameters from a COBOL client application to the zRule Execution Server for z/OS.