All user-defined monitors consist of a monitor object and optional condition, event, and interface exit programs.
Note: Although each type of program is optional, your monitor must have
either a condition or an event program before the monitor can be
started. If your monitor only uses an interface exit program,
your program needs to control all operations of the monitor,
including running the monitor.
This information describes how to create a monitor for each of the event classes. Programming for monitors describes the programming requirements for the condition, event, and interface exit programs.