The scheduler always executes the module 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. When Enterprise Server restarts, jobs should be processed.
After the StartupTimeout / RunTimeout values have elapsed, alerts may be sent to the scheduler by customizing the MFBSIJCL user exit mfbsialr.
The environment variable MFBSI_DIR must be defined and known to the operating system 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 its command line, and then from the configuration file mfbsi.cfg. By default, 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 submitted jobs.