Querying MQ information

If you are running Adaptive Server version 15.0.2 ESD #1 or later, you can query Adaptive Server for the following information about MQ objects on a specified queue manager by using the show option of the sp_msgadmin stored procedure:

StepsPreparing WebSphere MQ to use sp_msgadmin 'show'

  1. In WebSphere MQ, start the queue manager that you want to make inquiries on.

  2. Ensure that an MQ listener is running for the queue manager.

  3. Start the command server of the queue manager.

  4. Ensure that you have a queue called SYSTEM.ADMIN.COMMAND.QUEUE in the queue manager.

For information on how to perform these steps, see the documentation provided for WebSphere MQ at the IBM Publication Center.