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 » How to get Channels names list from MQ 7.5

Post new topic  Reply to topic
 How to get Channels names list from MQ 7.5 « View previous topic :: View next topic » 
Author Message
yehoram
PostPosted: Tue Nov 05, 2013 4:04 am    Post subject: How to get Channels names list from MQ 7.5 Reply with quote

Newbie

Joined: 05 Nov 2013
Posts: 2

Hi,
I'm new on this forum - so if I'm posting in the wrong place or breaking any intern laws - I'm sorry and please redirect me to the right place...

I'm an infrastructure developer and working on creating an intern tool for our organisation to manage and control our MQ servers..

Currently I'm writing in C# and our servers versions varies from 6.0.2.4 to 7.5 (we are in the middle of a migration process to update them all to 7.5)

Writing / reading messages to MQ is no problems for me, and i have no problems to retrieve Queue Names or Inquire Queues and Channels...

My problem is however with retrieving the list of Channels (and Channel Names) from the Queue Manager...

Does anyone have a code (in C#) that retrieves Channel Names?

(and for future assistant: MQ Services list / Topics list / Process Definitions list... lol )

Thank you very much for any help I can get,
Yehoram
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Tue Nov 05, 2013 4:10 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

What you are creating has been done many times already.

The MQ Explorer is free and does this:
http://www-01.ibm.com/support/docview.wss?uid=swg24021041

I use MO71 from MQGem most often in my day to day:
http://www.mqgem.com/mo71.html
Its free to download and run. To get support and maintenance is a few bucks, well worth it.

If you are writing this tool as a learining excercise go for it. If you are doing it to fill the need for a tool to manage MQ you should really look at the tools already out there. I only mentioned 2, there are many more, some free, others not.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
yehoram
PostPosted: Tue Nov 05, 2013 4:19 am    Post subject: I know those tools but sadly that won't work for me... Reply with quote

Newbie

Joined: 05 Nov 2013
Posts: 2

I'm writing something a bit more complicated...
It's suppose to be dedicated to my organisation -
stitched with database and control center and managed by WCF Services, MVC applications, etc..

it is a big mechanism that the MQ services are only 30% percent of...
I have to Manage it automatically by code...
I don't mind writing it all - I have the stamina (and the desire to learn)

what I lack is the knowledge..
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Nov 06, 2013 6:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

You might want to look at support pack MS0B (mostly for the pdf in there, the support pack is now integrated into the product) and look at the V7 infocenter talking about the pcf messages. I believe there might even be an example about channel names...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Nov 06, 2013 7:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The .NET apis have some undocumented classes for reading and writing PCF messages.

Otherwise, it's easy to take the C samples and use them in a C# application.

For some value of "easy" that means "once you understand how PCF messages work".
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 » How to get Channels names list from MQ 7.5
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.