The MFBSIEMX module must be defined as an Event Manager user exit and the variable MFBSI_DIR must be specified similar to that shown in the Configuration Information field as shown next:
Where:
ES_EMP_EXIT_1=mfbsiemx ES_EMP_EXIT_2=mfmonemx ES_EMP_EXIT_3=...
The MFBSIJCL component that is submitting jobs to the enterprise server requires the MFBSI_DIR environment variable with the same folder setting.
There are two ways to specify MFBSI_DIR for a specific enterprise server region:
Alternatively:
See the following examples of how to specify MFBSI_DIR:
Micro Focus recommends that you use the default settings for MFBSIJCL to specify the region name as part of MFBSI_DIR:
To set MFBSI_DIR to a path that ends up with a folder that has the same as the enterprise server region name and with the default settings for MFBSIJCL:
On Windows:
set MFBSI_DIR=x:\MF\…\MFBSI\ESRegionName
On UNIX:
export MFBSI_DIR=/MF/…/MFBSI/ESRegionName
To set MFBSI_DIR to any folder:
On Windows:
set MFBSI_DIR=x:\MF\...\MYDIR mfbsijcl ... REGION=ESRegionName
Or, on UNIX:
export MFBSI_DIR=/MF/.../MYDIR mfbsijcl ... REGION=ESRegionName
REGION=ESRegionName
On Windows:
set MFBSI_DIR=x:\MF\...\MYDIR
Or, on UNIX:
export MFBSI_DIR=/MF/.../MYDIR
REGION=ESRegionName
On Windows:
set MFBSI_DIR=x:\MF\...\MYDIR
Or, on UNIX:
export MFBSI_DIR=/MF/.../MYDIR
On Windows:
mfbsijcl ... CFG=x:\MF\...\MFBSICFG\custom.cfg
Or, on UNIX:
mfbsijcl ... CFG=/MF/.../MFBSICFG/custom.cfg
Or, without specifying the CFG parameter:
On Windows:
mfbsijcl ... export MFBSI_CFG=x:\MF\...\MFBSICFG\custom.cfg
Or, on UNIX:
mfbsijcl ... export MFBSI_CFG=/MF/…/MFBSICFG/custom.cfg
After making these settings in the region configuration, restart the server and check the console log for the message CASAM3006I/CASAM3001I to verify successful initialization of MFBSIEMX. Log entries are similar to:
CASAM3006I Event Filter for (mfbsiemx) has been enabled. Filter string: "1:1,3&3:*&4:1,2" CASAM3001I Event Manager exit enabled (mfbsiemx)
Server initialization creates a file named ESRegionName.Started in the MFBSI_DIR location. When the server shuts down, a file named EESRegionName.Shutdown replaces this file (where ESRegionName is the name of the region being used.
In order to restart any submitted jobs, you need to add some additional configuration settings in your enterprise server instance - see Job Restart.