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 » MSOB supportpac does not work in Solaris

Post new topic  Reply to topic
 MSOB supportpac does not work in Solaris « View previous topic :: View next topic » 
Author Message
jarun111
PostPosted: Fri Nov 05, 2004 9:52 am    Post subject: MSOB supportpac does not work in Solaris Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Hi,
I need to make use of PCF commands to enquire about system queues inside my applications. I downloaded MAOB from IBM site. When I tried running the sample programs, they run fine with the Queue Manager which is running in Windows env. When I excecute the same program for the Queue Manager in Solaris, the program connects to Queue manager but does not respond. Finally the program times out with 2033 reason code. I tried increasing the wait interval to 4 minutes. It does not work. Any inputs would be very useful.
Thanks.
Arun
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Nov 05, 2004 9:56 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Is the command server running on the target queue manager? That has bit me before now.

Kevin
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri Nov 05, 2004 9:57 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

You need to start the command server
strmqcsv <qmgrname>

Charlie
Back to top
View user's profile Send private message
jarun111
PostPosted: Fri Nov 05, 2004 10:18 am    Post subject: Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Thanks to all. Thats right my cmd server was down. Why do I require to start it.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 05, 2004 10:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jarun111 wrote:
Thanks to all. Thats right my cmd server was down. Why do I require to start it.


You need to run the command server because you said "I need to make use of PCF commands to enquire about system queues inside my applications. "

PCF commands are executed by the command server.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri Nov 05, 2004 10:29 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

On Windows, it is most likely configured to start as a service when the queue manager is started. This is the default behavior.

On unix, you have to start it (strmqcsv). Either run this command from the command line or add it to your startup script.

Charlie
Back to top
View user's profile Send private message
jarun111
PostPosted: Fri Nov 05, 2004 10:35 am    Post subject: Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Thanks again. Does this server internally sends message to Sytem.command.queue? Does this server have any overhead?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 05, 2004 10:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jarun111 wrote:
Thanks again. Does this server internally sends message to Sytem.command.queue? Does this server have any overhead?


No.

It *reads* from SYSTEM.COMMAND.QUEUE. The command server is the mechanism that RESPONDS to PCF messages, and EXECUTES the commands.

Yes, it has overhead - the overhead involved in giving you the information that you are asking for.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jarun111
PostPosted: Fri Nov 05, 2004 10:47 am    Post subject: Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

So when I use the support pac does the PCFAgent sends pcf message to system.command.queue? If I am right is that command server can repond only to PCF messages? Can I say that this command server is equivalent to starting runmqsc and executing commands.
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri Nov 05, 2004 11:26 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Quote:

So when I use the support pac does the PCFAgent sends pcf message to system.command.queue? If I am right is that command server can repond only to PCF messages? Can I say that this command server is equivalent to starting runmqsc and executing commands.


Actually, the default queue that the command server listens on is "SYSTEM.ADMIN.COMMAND.QUEUE. This is a configurable qmgr attribute.

It has a different interface than runmqsc. The command server accepts pcf commands. It parses them and calls the same internal functions as runmqsc. It converts the results back to pcf and sends the reply. It is a programmable interface, as the PCF name implies and it is the same on Windows and Unix.

Charlie
Back to top
View user's profile Send private message
jarun111
PostPosted: Fri Nov 05, 2004 12:33 pm    Post subject: Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Makes sense. Thank you.
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 » MSOB supportpac does not work in Solaris
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.