We can use the sample program, AMQSBCG, to show the contents and headers of all the messages in
a queue. For example:
AMQSBCG q_name qmgr_name
shows the contents of the queue q_name defined in queue
manager qmgr_name.
Alternatively, we can use the
message browser in the IBM MQ Explorer.
We can start any channel from the command prompt using the command
runmqchl -c channel.name
Error logs can be found in the directories MQ_INSTALLATION_PATH\qmgrs\ qmgrname \errors and MQ_INSTALLATION_PATH\qmgrs\@system\errors. In both cases, the most
recent messages are at the end of amqerr01.log.
MQ_INSTALLATION_PATH represents the high-level directory in which
IBM MQ is installed.
When you are using the command interpreter runmqsc to enter administration commands, a +
at the end of a line indicates that the next line is a continuation. Ensure that there is a space
between the last parameter and the continuation character.