I'm sure like me, many of you need to review the QSYSOPR messages throughout the course of the day. I'm a little lazy and I got tired of typing DSPMSG QSYSOPR.
Using CL I wrote a simple routine to display the messages, then put the CL in my user profile in the "Attention program" parameter.
Example:
Attention program............MISC
Library......................QGPL
The Attention program is tied to your escape key. I hit the escape key and presto....there are the QSYSOPR messages.
See the attached code for an example. I compiled it to QGPL Library.
PGM
DSPMSG MSGQ(QSYSOPR)
END: ENDPGM
This was first published in April 2001