Customizing topology 1: zRule Execution Server group with a shared console

To configure this topology, control statements are used to create the data sets that are required for each zRule Execution Server for z/OS® instance, and the Rule Execution Server console.

Rule execution begins on the first available server in the list. Other servers run rulesets only if rule execution is transferred to them. To route rule execution to a particular server, specify its ID first.

The HBRA-CONN-SSID field in the HBR-CONN-AREA data area returns the subsystem ID of the server that completed the execution of the ruleset. If a ruleset does not run to completion successfully, this field is set to blanks.

Servers that belong to the same group and are connected to the same Rule Execution Server console share the HBRWORKPATH value.

The data sets that are generated enable the zRule Execution Server for z/OS to be called from batch applications and IMS™ applications.

If you are planning to use this topology to support rule execution from CICS®, you must also create a CICS configuration by issuing the following command:
CREATE CICS HBRWORKDS=RULES.WORK.REGION1 CICSHLQ=CTS320.CICS650 CICSCSDDSN=CTS320.REGION2.DFHCSD
Variables Usage notes

HBRMODE

This variable is mandatory.

The value is case-sensitive and must be specified in uppercase exactly as shown in the description.

HBRSSID

This variable is mandatory.

HBRWORKDS

This variable is mandatory.

HBRWORKPATH

This variable is optional.

Defaults to the value specified in HBRINST.

CICSHLQ

This variable is required for configuring application-owning regions.

CICSCSDDSN

This variable is required for configuring application-owning regions.

Examples

Creating a single Rule Execution Server console
CREATE ZRES HBRMODE=CONSOLE HBRSSID=HBR1 HBRWORKDS=RULES.WORK.HBR1
Creating three zRule Execution Server for z/OS instances
CREATE ZRES HBRMODE=RULE HBRSSID=HBR2 HBRWORKDS=RULES.WORK.HBR2
CREATE ZRES HBRMODE=RULE HBRSSID=HBR3 HBRWORKDS=RULES.WORK.HBR3
CREATE ZRES HBRMODE=RULE HBRSSID=HBR4 HBRWORKDS=RULES.WORK.HBR4

Use these examples and the variables table to create your control statements in ++HBRHLQ++.SHBRPARM(HBRCTRL).

The example CREATE control statements show that the ++HBRSSIDLIST++ is set to HBR2, HBR3, and HBR4.

Creating a testing and simulation server for use by Rule Designer and Decision Center
CREATE ZRES HBRMODE=TEST HBRSSID=HBR5 HBRWORKDS=RULES.WORK.HBR5
Creating an HTDS server that allows remote clients to call the decision service
CREATE ZRES HBRMODE=HTDS HBRSSID=HBR6 HBRWORKDS=RULES.WORK.HBR6
Combining CONSOLE,TEST, and HTDS in a single server

A control statement can include multiple modes from: HTDS, CONSOLE, and TEST by using a comma-separated list. This allows a single server to be created that provides all three web applications: the console, the testing application, and hosted transparent decision services (HTDS). For example:

CREATE ZRES HBRMODE=CONSOLE,TEST,HTDS HBRSSID=HBR7 HBRWORKDS=RULES.WORK.HBR7
Note: When you specify an HBRMODE of HTDS or TEST, you must set the HBRPERSISTENCETYPE to DB2.