IBM continue to deliver an ever-increasing number of system messages on IBM i, providing information in terms of hardware, operating system and everything in in-between. Although this is a generally a good thing it does have a downside; the sheer number of messages seen on the QSYSOPR message queue.
This means there is every chance you could miss one that is of real importance to you and ultimately your business.
The QHST history log suffers too.
In 1993 IBM announced V2R3 of OS400 and with it introduced the QSYSMSG message queue. Simply by creating QSYSMSG message queue in QSYS library, critical system messages are automatically sent to that message queue. The QSYSMSG queue has two big advantages over the QSYSOPR.
Firstly it doesn’t get cleared at IPL time, ensuring that that you have a permanent audit trail and secondly only messages of any note appear on it – not application or hardware related messages of little or no relevance.
To create the QSYSMSG message queue use the command below;
CRTMSGQ MSGQ(QSYS/QSYSMSG) TEXT('Critical Messages')
Once the QSYSMSG queue exists, the messages below get sent there instead of to QSYSOPR;
The messages below could appear on either or both queues depending on the system reference code (SRC) sent with the message.
All other hardware and operating system messages get sent to both queues.
Still have questions? We can help. Submit a case to Technical Support.