You can execute rulesets on zRule
Execution Server for z/OS® from
a z/OS application (COBOL or
PL/I application) that runs as an IMS™ application.
Before you begin
- In the ++HBRWORKDS++.SHBRPARM(HBRBATCH) data
set member, verify that the HBRSSIDLIST variable
specifies the server group where the ruleset is to execute. The value
of HBRSSIDLIST is set when you run the HBRUUPTI job
in Step 5: Creating the working data sets.
- Confirm that IMS is configured
correctly by running the Miniloan sample program.
About this task
You can call
zRule
Execution Server for z/OS from
a z/OS 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 IMS application
program.
- Include the zRule
Execution Server for z/OS API code either
statically or dynamically to resolve the API calls.
- In the JCL to run your application, add the following HBRENVPR
DD statement to point to the HBRBATCH data set member:
//HBRENVPR DD DISP=SHR,DSN=++HBRWORKDS++.SHBRPARM(HBRBATCH)
You
can see an example in the ++HBRWORKDS++.SHBRJCL(HBRMINI) data
set member, which contains the JCL used to run the COBOL Miniloan
sample application.
- Ensure that your program and transaction code are defined
to IMS.