Try changing the message queue specifying MSGQFULL(*SNDMSG)
ie: CHGMSGQ MSGQ(QSYSOPR) MSGQFULL(*SNDMSG)
This should keep it from automatically wrapping.
Please let me know if this helps.
If it truly is wrapping every second, then MSGQFULL(*SNDMSG) might not help. (Further, asking on this forum probably won’t help either because things are happening too fast for any hope of fast enough responses from a web forum.)
MSGQFULL(*SNDMSG) might simply cause a new exception that results in a new message being sent to QSYSOPR. It depends on how the offending job is coded. We already know it’s coded inappropriately.
Further, when the message queue is full and is not set to wrap, then <b>every</b> job or function that sends to QSYSOPR will also be sent the CPF2460 message, potentially causing errors in jobs all over the system. And if messages are removed from QSYSOPR to remove the “full” condition while messages are being sent so fast that the queue wraps every second, then there will be no progress — the queue will refill faster than messages can be removed.
You need to find and cancel (or at least hold) the offending job. Look for the active job that’s getting the most CPU time. It’s in a very tight infinite loop, so it should be easy to recognize.