IBM i

  • 1.  Monitoring QSYSOPR msgq

    Posted Tue May 25, 2021 04:15 PM
    Hi

    I have created a program to monitor the qsysopr message queue, I have included it in the command CHGMSGQ MSGQ (QSYSOPR)
    SEV (99) PGM (MONITOR *ALWRPY), but the queue is blocked and messages cannot be seen, how could I solve this?

    Thanks in advance

    ------------------------------
    Juan Garcia
    ------------------------------


  • 2.  RE: Monitoring QSYSOPR msgq

    Posted Wed May 26, 2021 04:01 AM
    Hi Juan,

    Is there a lock on the message queue already? 

    WRKOBJLCK OBJ(QSYSOPR) OBJTYPE(*MSGQ)

    When our product monitors the message queue in lock mode and assigns a program to the message queue this locks the message queue. This is why we also run in unlock mode.

    Best regards,
    Sam

    ------------------------------
    Sam Dix
    ------------------------------



  • 3.  RE: Monitoring QSYSOPR msgq

    Posted Wed May 26, 2021 09:29 AM
    Hello Juan,

    Change the severity to 0 then you will see all the messages..

    Greg

    ------------------------------
    Gregory Christoforides
    ------------------------------