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. ![End of change](deltaend.gif)
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. ![End of change](deltaend.gif)
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. ![End of change](deltaend.gif)
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. ![End of change](deltaend.gif)
- 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.