To browse a message when you do not know the size of the message, and you do not want to use the MsgId, CorrelId, or GroupId fields to locate the message, you can use the MQGMO_BROWSE_MSG_UNDER_CURSOR option :
The message pointed to is the last one that was retrieved; the browse cursor will not have moved. You can choose either to lock the message using the MQGMO_LOCK option, or to unlock a locked message using MQGMO_UNLOCK option.
The call fails if no MQGET with either the MQGMO_BROWSE_FIRST or MQGMO_BROWSE_NEXT options has been issued successfully since the queue was opened.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
getbrcr |