The scheduler always executes MFBSIJCL, either directly or by executing a script. This submits a JCL job to Enterprise Server/JCL. MFBSIJCL ends execution when the job terminates, either normally or abnormally.
If Enterprise Server shuts down while submitted jobs are waiting for execution, other MFBSIJCL instances may still be running and waiting. After startup timeout, alerts may be sent to the scheduler. When Enterprise Server restarts, jobs should be processed.
The environment variable MFBSI_DIR must be defined before MFBSIJCL starts. MFBSI_DIR specifies the folder where the temporary files JOBnnnnn.Sem and JobId.Log are stored. This folder must be accessible from where MFBSIJCL executes, either directly or from a share, or from the system running Enterprise Server.
When MFBSIJCL executes, it takes execution parameters first from the command, and then from the configuration file mfbsi.cfg. The configuration file mfbsi.cfg is located in the folder specified by the MFBSI_DIR environment variable. mfbsi.cfg can specify parameters common to all jobs.