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
- Add the API calls to your application.
- Include the zRule
Execution Server for z/OS API code either
statically or dynamically to resolve the API calls.
- Include the WOLA load library in the STEPLIB DD statement.
- Add a DFSESL DD step to include the WOLA load library and
the IMS SDFSRESL library.
- 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)
- Ensure that your program and transaction code are defined
to IMS.
- Restart IMS to register
the changes.