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 » Query MQ Configuration for current computer using .Net

Post new topic  Reply to topic
 Query MQ Configuration for current computer using .Net « View previous topic :: View next topic » 
Author Message
shankycheil
PostPosted: Thu Sep 14, 2006 9:03 pm    Post subject: Query MQ Configuration for current computer using .Net Reply with quote

Newbie

Joined: 11 Aug 2006
Posts: 9

Hi,

I have been through the manuals but could not find out how to query the MQ Series configuration on the current computer through .Net programming. Well maybe "configuration" is a strong word, what I'm looking for is a way to populate various dropdown's with a list of the Queue Managers Installed, list of Queues for a particular Queue Manager and such.

Thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Sep 14, 2006 9:11 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi shankycheil,

Maybe your looking for the PCF commands and jar. Try a search, i got it by googleing.

Regards.
Back to top
View user's profile Send private message Send e-mail
shankycheil
PostPosted: Fri Sep 15, 2006 1:41 am    Post subject: Reply with quote

Newbie

Joined: 11 Aug 2006
Posts: 9

Hello elvis_gn,

Thanks for your prompt response.

google I did
But I'm not one bit wiser
Being new to the world of MQ and the lack of dotNet related documentation on PCFAgent & PCFMessageAgent.

Do I have any other options ?

Regards.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 15, 2006 1:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

PCFAgent and PCFMessageAgent are java classes that are supplied in a Support Pack.

Being Java, there's no way to run them from .NET, I think.

You can build and send PCF messages in .NET. There just aren't, that I know of, any helper classes to make it easier.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Sep 15, 2006 3:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and PCF is NOT going to tell you which qmgrs are on a machine ... thats platform dependent , for example, on unix you need to read & parse the mqs.ini file in /var/mqm. On windows, you need to read the registry....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Fri Sep 15, 2006 4:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

or, on most platforms, execute and process the output of "dspmq".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
shankycheil
PostPosted: Fri Sep 15, 2006 4:28 am    Post subject: Reply with quote

Newbie

Joined: 11 Aug 2006
Posts: 9

Thank you all for your responses.

w.r.t PCFAgent and PCFMessageAgent, I do find the classes in amqmdnet.dll available under the IBM.MQ.PCF namespace. Using the object browser in VS.Net I can see the methods but what I couldn't find was documentation in this regard in the .Net manuals

Back to the drawing board.

Regards
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Sep 15, 2006 4:54 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Why not just read the AMQCLCHL.TAB file, assuming that it is installed on the client platform.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Sep 15, 2006 5:32 am    Post subject: Re: Query MQ Configuration for current computer using .Net Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

shankycheil wrote:
Hi,

I have been through the manuals but could not find out how to query the MQ Series configuration on the current computer through .Net programming. Well maybe "configuration" is a strong word, what I'm looking for is a way to populate various dropdown's with a list of the Queue Managers Installed, list of Queues for a particular Queue Manager and such.

Thanks
zpat wrote:
Why not just read the AMQCLCHL.TAB file, assuming that it is installed on the client platform.
Sorry...I don't follow your suggestion.....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Query MQ Configuration for current computer using .Net
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.