MQ

 View Only
  • 1.  last message date/time - MQCMD_INQUIRE_CHANNEL_STATUS

    Posted Fri June 24, 2022 03:26 PM
    Does MQ update MQCACH_LAST_MSG_DATE/MQCACH_LAST_MSG_TIME only when it sends or receive message ?  Keep Alive will not update these fields correct ? 

    regards
    deb



    ------------------------------
    Debabrata Ghosh
    ------------------------------


  • 2.  RE: last message date/time - MQCMD_INQUIRE_CHANNEL_STATUS

    Posted Wed July 06, 2022 09:45 AM
    The equivalent params in dis chstatus are LSTMSGDA and LSTMSGTI and contain more details.
    LSTMSGDA
     Date when the last message was sent or MQI call was handled, see LSTMSGTI.

    LSTMSGTI
     Time when the last message was sent or MQI call was handled.

    For a sender or server, this is the time the last message (the last part of it if it was split) was sent. For a requester or receiver, it is the time the last message was put to its target queue. For a server-connection channel, it is the time when the last MQI call completed.

    In the case of a server-connection channel instance on which conversations are being shared, this is the time when the last MQI call completed on any of the conversations running on the channel instance.

    Thanks,
    mahesh



    ------------------------------
    UMAMAHESH PONNUSWAMY
    ------------------------------



  • 3.  RE: last message date/time - MQCMD_INQUIRE_CHANNEL_STATUS

    Posted Wed July 06, 2022 10:17 AM
    The equivalent params in DIS CHS are LSTMSGDA and LSTMSGTI and contains more details.

    LSTMSGDA
    Date when the last message was sent or MQI call was handled, see LSTMSGTI.

    LSTMSGTI Time when the last message was sent or MQI call was handled.

    For a sender or server, this is the time the last message (the last part of it if it was split) was sent. For a requester or receiver, it is the time the last message was put to its target queue. For a server-connection channel, it is the time when the last MQI call completed.

    In the case of a server-connection channel instance on which conversations are being shared, this is the time when the last MQI call completed on any of the conversations running on the channel instance.



    ------------------------------
    UMAMAHESH PONNUSWAMY
    ------------------------------



  • 4.  RE: last message date/time - MQCMD_INQUIRE_CHANNEL_STATUS

    IBM Champion
    Posted Wed July 06, 2022 03:38 PM

    Hi Deb,

    I can confirm that Keep Alive does not update MQCACH_LAST_MSG_DATE/MQCACH_LAST_MSG_TIME.

    Keep Alive probes are sent by the TCP/IP layer. MQ is unaware of when they are sent and so cannot, even if it wanted to, update these fields based on Keep Alive.

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------