Exit program to send message to QSYSOPR
This Query Supervisor exit program sends an informational message to the QSYSOPR message queue.
This program sends an SQL7064 message to the QSYSOPR message queue when it is called for any threshold. Because SQL cannot be used directly in the exit program, the Run SQL (RUNSQL) CL command is submitted as a batch job.
The SQL7064 message ID is provided to be used with Query Supervisor. The caller provides a string containing the text for the message. In this example, the threshold name and the job name that reached the threshold are included in the message.
