Previous Topic Next topic Print topic


Sending Alerts to the Scheduler

If a submitted job does not start execution after the time specified by StartupTimeout (with a minimum of one minute), or if a job is still running after the time specified by RunTimeout (with a minimum of one minute), the user exit MFBSIALR is called. This allows a notification to be sent to the scheduler requesting action by the Studio Enterprise Edition/MSS interface.

If after a first alert, the job is still in the same status after the specified time increment, subsequent alerts are sent at the specified time increment to invoke MFBSIALR.

MFBSIALR adds a new record in the file $MFBSI_DIR\Alert.txt displaying all the interface data.

The mfbsialr.cpy interface copybook file is located in %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\base\source A sample COBOL program, mfbsialr.cbl, is located in %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\base\source. Change this sample COBOL user exit program as needed for your environment, such as using the API provided by your scheduler.

Previous Topic Next topic Print topic