Browsing queues
IBM® MQ provides a sample queue browser that you can use to look at the contents of the messages on a queue. The browser is supplied in both source and executable formats.
MQ_INSTALLATION_PATH
represents the high-level directory in which IBM MQ is installed.
In IBM MQ for
Windows, the file names and paths for the sample queue browser are as follows:
- Source
MQ_INSTALLATION_PATH
\tools\c\samples\- Executable
MQ_INSTALLATION_PATH
\tools\c\samples\bin\amqsbcg.exe
In IBM MQ for UNIX and Linux®, the file names and paths are as follows:
- Source
MQ_INSTALLATION_PATH
/samp/amqsbcg0.c- Executable
MQ_INSTALLATION_PATH
/samp/bin/amqsbcg
The sample requires two input parameters, the queue name and the queue manager name. For example:
amqsbcg SYSTEM.ADMIN.QMGREVENT.tpp01 saturn.queue.manager
Typical results from this command are shown in Figure 1.