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 » List remote queues with PCF in C#

Post new topic  Reply to topic
 List remote queues with PCF in C# « View previous topic :: View next topic » 
Author Message
matt_newnham
PostPosted: Tue Oct 19, 2004 1:15 am    Post subject: List remote queues with PCF in C# Reply with quote

Newbie

Joined: 19 Oct 2004
Posts: 9

Hi I am new to Websphere MQ. I have been using the IBM MQ classes and the PCF classes to list all of the Queues under a local queue manager. However I want to list queues of a queue manager on a remote machine. Does anyone know how I can do this? Can I use the PCFMessageAgent class? I am working in C#.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Oct 19, 2004 6:32 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Connect as a client to the machine in question....or there is a pretty good support pack that will do the remote admin. (MO71)
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Oct 20, 2004 10:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I dont think there is PCFMessageAgent class in .NET
Atleast I did not find it in Using .NET manual.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
JasonE
PostPosted: Fri Oct 22, 2004 2:21 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Its unsupported, but see my post under
http://www.mqseries.net/phpBB2/viewtopic.php?t=11662&highlight=pcf
Back to top
View user's profile Send private message
matt_newnham
PostPosted: Tue Oct 26, 2004 12:18 am    Post subject: Reply with quote

Newbie

Joined: 19 Oct 2004
Posts: 9

Thanks for all your advice. I have used the PCF Message Agent class and have been succesful in listing all of the queues under my local queue managers by passing the name of my local queue manager.

eg.

PCFMessageAgent myAgent = new PCFMessageAgent("QM_NAME")

I have also been successful in connecting to a remote queue manager using the .net MQ classes and setting the MQEnvironment variables.

However I cannot obtain a list of the queues under this remote queue manager by connecting to it as a client. Nor can I use the PCF Message Agent class to connect to a remote queue manager. If I supply the name of my remote queue manager I get an 2058 exception, similar to if i try to connect to a remote queue manager using the MQ classes without setting the MQEnvironment variables. There is no MQEnvironment class in the PCF namspace, as far as i can see.

Any thoughts??
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 » List remote queues with PCF in C#
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.