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 enables a notification to be sent to the scheduler requesting action by the Enterprise Developer/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 (AlertBackTimout) to re-invoke MFBSIALR.

By default, the MFBSIALR.cbl source, provided as an example, adds a new record in the $MFBSI_DIR\Alert.txt file, displaying all the interface data.

The mfbsialr.cpy interface copybook file is located in $COBDIR/cpylib A sample COBOL program, mfbsialr.cbl, is located in $COBDIR$COBDIR\cpylib. Change this sample COBOL user exit program as required for your environment, such as using the API provided by your scheduler.