How to display MQ Listener details via the Command Line on Windows

August 14, 2009

I’m far too used to being spoilt with using MQ Explorer,  so when I received a demo VMware off of a partner, without Explorer installed, it was time to dust off the manual for the runmqsc commands.

To interact with MQ using mqsc, you first need to get into the MQ bin directory in a DOS box, and run the command runmqsc.exe

So for instance:

cd C:\Program Files\IBM\MQ\bin
runmqsc.exe

Upon running this, you’ll be into the MQ Series command environment. If you type ? you’ll get a list of available commands that are over and above this post.

What I needed to do was look for the listener port details, without knowing if a listener existed. It turns out the way to do this is to type:

DISPLAY LISTENER(*) ALL

which should then give you a detailed listing of all MQ Listeners running on your Queue Manager.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: