Previous Topic: Example: DOM RuleNext Topic: Installation Requirements for EOJ Rules


End-of-Job Rules

An end-of-job (EOJ) rule is triggered when any job or started task ends. EOJ rules facilitate the process of detecting when a job or started task ends, because one EOJ rule usually replaces several MSG rules that need to be coded to detect job ending states such as abend and normal termination messages. In addition, some address spaces may end silently (no message notification). An EOJ rule can effectively detect this type of termination.

In many cases, you can use an EOJ rule (and an EOS rule) to replace your existing IEFACTRT SMF exit, which is written in assembler language.