This is submitted as an alternative to Richard Nichols' tip re: QSYSOPR messages. Many of us use our attention program key for other purposes, but there is a very simple alternative. Simply create a CL "shorthand" command that can be run from the command line. Example: To display QSYSOPR messages, create a CL program called dq, and store in QGPL. To run, type dq at the command line and enter. I've also created shortcuts for many other commands, such as WL, short for wrkcfgsts *lin.
/* Shorthand for DQ - DSPMSG QSYSOPR */
pgm dspmsg msgq(qsysopr) endpgm
This was first published in April 2001