Configuring batch jobs to execute rules through WOLA

To call Rule Execution Server on WebSphere® Application Server for z/OS® from your z/OS application (COBOL or PL/I application), you must specify the WebSphere Optimized Local Adapters (WOLA) load library, and the parameters required to locate the instance of WebSphere Application Server for z/OS.

About this task

To enable z/OS applications to call Rule Execution Server through WOLA, you first configure Rule Execution Server and WOLA on the same instance of WebSphere Application Server for z/OS. Then you modify the JCL that starts your z/OS application, and set the SHBRPARM(HBRWOLA) data set member with the appropriate values.

Procedure

  1. Add the following line to the STEPLIB in the JCL that starts the application:
    DD DISP=SHR,DSN=++HBRWOLALOADLIB++
    where ++HBRWOLALOADLIB++ is the location where you installed the WOLA load library.
  2. To identify the parameter file, add the following line in the JCL that starts the application:
    //HBRENVPR DD DISP=SHR,DSN=++HBRWORKDS++.SHBRPARM(HBRWOLA) 
  3. Modify the following lines in the parameter file ++HBRWORKDS++.SHBRPARM(HBRWOLA):
    HBRTARGETRES=++HBRTARGETRES++
    HBRWOLACELL=++HBRWOLACELL++
    HBRWOLANODE=++HBRWOLANODE++
    HBRWOLASERVER=++HBRWOLASERVER++

    The last three lines must be modified to specify the WebSphere Application Server instance that you want to use.

    If you are calling your application from IMS™, add a DFSESL DD statement to your JCL. This statement must identify the WOLA load library and the IMS SDFSRESL library.