Calling Rule Execution Server from an IMS application

You can execute rulesets on Rule Execution Server on WebSphere® Application Server for z/OS® through WebSphere Optimized Local Adapters (WOLA) from an IMS™ application.

Before you begin

  • Complete the configuration steps for both WOLA and IMS.
  • Confirm WOLA and IMS are configured correctly by running the Miniloan sample program.

About this task

You can call Rule Execution Server on WebSphere Application Server for z/OS from a z/OS application (COBOL or PL/I application) that runs as an IMS application. To do so, you add API calls to the application and update the JCL that you use to run it.

Procedure

  1. Add the API calls to your application.
  2. Include the zRule Execution Server for z/OS API code either statically or dynamically to resolve the API calls.
  3. Include the WOLA load library in the STEPLIB DD statement.
  4. Add a DFSESL DD step to include the WOLA load library and the IMS SDFSRESL library.
  5. In the JCL to run your application, add the following HBRENVPR DD statement to point to the HBRWOLA data set member:
    //HBRENVPR DD DISP=SHR,DSN=&HBRWDS..SHBRPARM(HBRWOLA)
  6. Ensure that your program and transaction code are defined to IMS.
  7. Restart IMS to register the changes.