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 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 simply 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\Enterprise Developer\cpylib (Windows) or $COBDIR/cpylib (UNIX) A sample COBOL program, mfbsialr.cbl, is located in %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\src\enterpriseserver\exits (Windows) or $COBDIR/src/enterpriseserver/exit (UNIX). 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