Watch for event function
The watch for event function enhances your ability to detect and react to problems represented by specific messages or Licensed Internal Code log entries. The watch for event function notifies you when the specified event (message or Licensed Internal Code log entry) occurs, and then calls the specified exit program to take the action you want.
- Using the watch for event function
To set up and use the watch for event function, use the corresponding commands.- Scenario: Using the watch for event function with an exit program
This scenario explains how to use the watch for event function with an exit program.- Scenario: Exit program for Watch for Event
This is an example of a Watch for Event exit program, which is written in C.
Parent topic:
Detecting problems