Customizing topology 5: Embedding an execution server with your batch execution

To configure this topology, control statements create the data sets that are required for an environment for a batch execution.

Variables Usage notes

HBRWORKDS

This variable is mandatory.

HBRWORKPATH

This variable is mandatory.

HBRSSIDLIST

This variable is required when embedding inside COBOL and PL/I applications. It specifies the supporting zRule Execution Server for z/OS®.

The following example creates a batch execution environment to run the batch job CUSTBILL in Java™, COBOL, or PL/I.

CREATE BATCH HBRWORKDS=RULES.WORK.CUSTBILL HBRWORKPATH=/u/rules/workdirs/custbill

It creates the following data sets:

  • RULES.WORK.CUSTBILL.SHBRJCL
  • RULES.WORK.CUSTBILL.SHBRPARM

You must run RULES.WORK.CUSTBILL.SHBRJCL(HBRCRTI) in Step 6: Creating the working directory to create the work path /u/rules/workdirs/custbill for the batch job. HBRCRTI is generated by HBRUUPTI.