IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
  • 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
    ------------------------------