Configuring the Java batch environment

The ra.xml file must be configured to provide configuration information for a Java™ batch program. You can use the HBRCJCFG job to configure the file and the Java batch environment.

Before you begin

You must use control statements to create and configure the execution environment. For more information, see Customizing topology 4: Embedding an execution server with your batch execution.

About this task

By submitting HBRCJCFG, the following processes are completed automatically.
  1. HBRCJCFG executes the RESSetupZ Java class.
  2. The RESSetupZ Java class reads properties from certain members inside of ++HBRWORKDS++.SHBRPARM, as specified in the HBRENVPR DD statement in HBRCJCFG.
  3. RESSetupZ parses these properties and generates the ra.xml file.

HBRCJCFG also creates a logging.properties file. This file contains the log level that is derived from the HBRTRACELEVEL property in the ++HBRWORKDS++.SHBRPARM(HBRCMMN) member.

Procedure

  1. Optional: Set HBRCONSOLECOM=NO in ++HBRWORKDS++.SHBRPARM(HBRCMMN) to disable the connection to the Rule Execution Server console.

    If you do not want the ruleset to be updated while the batch job is running, or you do not want to collect and display ruleset statistics, the connection to the Rule Execution Server console might not be required for management purposes.

  2. Submit the HBRCJCFG job.

Results

The ra.xml file is in ++HBRWORKPATH++/config/res when it is successfully generated.