Author |
Message
|
jcaron |
Posted: Mon Oct 31, 2005 8:03 am Post subject: Interactive MQ Command Line Client |
|
|
Apprentice
Joined: 02 Jun 2005 Posts: 30 Location: Indianapolis, IN
|
Is there a generic client that ships with the MQ install that allows you to talk to a Queue Manager and issue commands like MQCONN and MQINQ? I need to find the value of MaxHandles on one of our queue managers and I can't come up with any other way of discovering this piece of info other than MQINQ. Am I really expected to write my own application just to get one piece of information?? Thanks in advance for any suggestions! |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 31, 2005 8:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Umm....
No, there isn't a "generic" application shipped with MQ that will issue MQ connections and MQ Inquiries and Puts and Gets.
Well, no. That's not true, either. The MQ Explorer will do this.
But not the way you're thinking.
You can also use "runmqsc".
Please spend at least a little time with the System Administration Guide and the Script (MQSC) Command Reference.
Or, ask your MQ Administrator... if you *are* your MQ Administrator, then you need to spend a lot of time reading the System Administration Guide adn the Script (MQSC) Command Reference. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jcaron |
Posted: Mon Oct 31, 2005 8:19 am Post subject: |
|
|
Apprentice
Joined: 02 Jun 2005 Posts: 30 Location: Indianapolis, IN
|
I knew runmqsc existed, even tried it, but there just didn't seem to be a way to use it to issue an MQINQ command...
I'll do some additional reading, thanks for the reply. |
|
Back to top |
|
 |
wschutz |
Posted: Mon Oct 31, 2005 8:21 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
I need to find the value of MaxHandles on one of our queue managers and I can't come up with any other way of discovering this piece of info other than MQINQ |
Do you mean you need to find it to use in a program, or do you mean you need to find the value to use in a script, or something else? _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 31, 2005 8:23 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
But you don't need to issue an MQINQ to get Max Handles... you just need
....
And the v6 explorer will show you this as well... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jcaron |
Posted: Mon Oct 31, 2005 8:26 am Post subject: |
|
|
Apprentice
Joined: 02 Jun 2005 Posts: 30 Location: Indianapolis, IN
|
I just meant for a one-time query of this value, not from a program or even from a script. Someone suggested changing the maxHandles variable on one of our QMs this weekend and I wanted to check the current value. After finding the mqsc command reference guide and skimming it for a minute, it looks like this should do the trick:
DISPLAY QMGR MAXHANDS |
|
Back to top |
|
 |
jcaron |
Posted: Mon Oct 31, 2005 8:30 am Post subject: |
|
|
Apprentice
Joined: 02 Jun 2005 Posts: 30 Location: Indianapolis, IN
|
Guess Jeff beat me to it... man I can't wait until we get to V6  |
|
Back to top |
|
 |
|