ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Interactive MQ Command Line Client

Post new topic  Reply to topic
 Interactive MQ Command Line Client « View previous topic :: View next topic » 
Author Message
jcaron
PostPosted: Mon Oct 31, 2005 8:03 am    Post subject: Interactive MQ Command Line Client Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 31, 2005 8:16 am    Post subject: Reply with quote

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
View user's profile Send private message
jcaron
PostPosted: Mon Oct 31, 2005 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Mon Oct 31, 2005 8:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Mon Oct 31, 2005 8:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But you don't need to issue an MQINQ to get Max Handles... you just need
Code:
dis qmgr maxhands
....

And the v6 explorer will show you this as well...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jcaron
PostPosted: Mon Oct 31, 2005 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message
jcaron
PostPosted: Mon Oct 31, 2005 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Interactive MQ Command Line Client
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.