Calling Rule Execution Server from a batch application

To call Rule Execution Server on WebSphere® Application Server for z/OS® from a batch application, you must first configure WebSphere Optimized Local Adapters (WOLA) and your batch application.

Before you begin

Ensure that you complete the configuration steps for both WOLA and the batch application.

Procedure

  1. Ensure that the configuration is working by running the HBRMINW sample program.
  2. Add API calls to your application.
  3. Include the zRule Execution Server for z/OS API code either statically or dynamically to resolve the API calls.
  4. Run your program:
    1. Include the WOLA load library in the STEPLIB.
    2. Add the HBRENVPR DD statement to point to a data set member that identifies your WebSphere Application Server for z/OS server.