Running the sample Java batch program
The HBRMINBJ sample job is used to launch a JVM to run the MiniLoanDemo Java™ sample.
About this task
- HBRMINBJ adds ++HBRWORKPATH++/config/res to the class path. This directory contains the generated ra.xml file. Other JAR files that are required for execution are also included.
- The MiniLoanDemo Java sample sets up a Rule Execution Server by using a IlrJ2SESessionFactory, and then executes rules by using the input data.
- The member that contains the input data ++HBRWORKDS++.SHBRPARM(HBRSCEN) is
specified in the SCENARIO DD statement within HBRCJCFG.Note: HBRMINBJ executes the MiniLoanDemo Java sample by using BPXBATSL, so that it launches in the same address space, and can therefore read the SCENARIO DD statement.
Procedure
Submit HBRMINBJ to run the MiniLoanDemo Java sample.