Monitoring APIs
The Monitoring APIs include:
- End Watch (QSCEWCH) ends a watch session that was started by a STRWCH (Start Watch) command or by the Start Watch (QSCSWCH) API.
- Start Watch (QSCSWCH) starts the watch for event function, which notifies the user by calling a user specified program when the specified event (a message or LIC log) occurs.
- Start Watch Command or API Exit Program (QPDETWCH) can be used as the exit program for the Start Watch (STRWCH) Command or Start Watch (QSCSWCH) API.
The Monitoring exit programs include:
- Watch for Event exit program is started by the STRWCH command or the Start Watch (QSCSWCH) API, and has the capability to notify the user by calling a user exit program when the specified event occurs.
- Watch for Trace Event exit program is called while using commands to watch for specific events, such as messages being sent to a particular queue.