New Watch for Event Function for IBM i 7.1: How to Take Advantage of QSYSMSG Message Queue
Note: This is publication is now archived. For reference only.
The message portion of the Watch for Event function has several enhancements beginning at IBM i 7.1, one of which is the support to watch for *ALL messages sent to a nonprogram message queue (such as QSYSMSG) or all messages sent to a program message queue for a job (job log).
If the QSYSMSG message queue exists and is not damaged, certain messages are directed to it instead of, or in addition to, the QSYSOPR message queue. This allows a user-written program to gain control when certain messages are sent.
The goal of this technote is to show you how to combine the best of both features through simple programming using CL.
Written by Matias Centeno Lozada
IBM® AS/400®, iSeries™, System i™, and Power Systems™ SW Support Specialist
MTS - IBM Argentina Support Center
The material included in this document is in DRAFT form and is provided 'as is' without warranty of any kind. IBM is not responsible for the accuracy or completeness of the material, and may update the document at any time. The final, published document may not include any, or all, of the material included herein. Client assumes all risks associated with Client's use of this document.