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 Performance Monitoring » Subscriptions managed from shell?

Post new topic  Reply to topic
 Subscriptions managed from shell? « View previous topic :: View next topic » 
Author Message
banjar1
PostPosted: Tue Mar 04, 2008 5:45 am    Post subject: Subscriptions managed from shell? Reply with quote

Acolyte

Joined: 29 Nov 2006
Posts: 54
Location: FRA

I'm looking for any tool/plug-in/whatever that would allow me to add/remove a subscriber in a shell script. I guess a binary realizing subscribe/unsubscribe command would do. Unless there is a command for runmqsc - but I couldn't find it.
Would be nice to have something like that for adding/removing a publisher, too.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Mar 04, 2008 5:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Are you doing pub/sub from WMQ, or with WMB? Both expose commands (rather than mqsc script) to administer from command line.

If you're using WMQ (which I infer from your comment on runmqsc) the Using Pub/Sub manual describes the options available.

Don't forget you can use a command line application of your own devising to send pub/sub messages if you find the provided commands unsuitible.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
banjar1
PostPosted: Wed Mar 05, 2008 4:27 am    Post subject: Reply with quote

Acolyte

Joined: 29 Nov 2006
Posts: 54
Location: FRA

I'm using the built-in pub/sub functionality of MQ6. And I did check the Pub/Sub manual and found nothing like that. There are listed commands that need to be sent to broekr's control queue, but I'm looking for executables that have this commands implemented for easy use is AIX shell.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Mar 05, 2008 5:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

banjar1 wrote:
I'm using the built-in pub/sub functionality of MQ6. And I did check the Pub/Sub manual and found nothing like that.


You're right, neither did I!

Not used basic pub/sub myself but I thought the commands in WMB were replicated in the WMQ implementation.

Shows what I know.......
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
banjar1
PostPosted: Wed Mar 05, 2008 5:42 am    Post subject: Reply with quote

Acolyte

Joined: 29 Nov 2006
Posts: 54
Location: FRA

Oh, well... perhaps I will have one of our programmers writing me a set of perl scripts with these PCF commands implemented.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Mar 05, 2008 3:17 pm    Post subject: Reply with quote

Grand High Poobah

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

banjar1 wrote:
Oh, well... perhaps I will have one of our programmers writing me a set of perl scripts with these PCF commands implemented.

Don't know what you're talking about.
Did you look at support pack IH03 (rfhutil/rfhutilc) ??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
banjar1
PostPosted: Thu Mar 06, 2008 5:21 am    Post subject: Reply with quote

Acolyte

Joined: 29 Nov 2006
Posts: 54
Location: FRA

Yes, I know RFHUtil - and it is far too complex for my taste - and Windows based. One can add subscribtions with MQExplorer, too, but that's exactly what I want to avoid.
I need is something very simple: an implementation of subscribe command in a neat executable or script. of course it needs to accept parameters, like topic, subscriber's queue name etc.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Thu Mar 06, 2008 11:03 am    Post subject: Reply with quote

Grand High Poobah

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

banjar1 wrote:
Yes, I know RFHUtil - and it is far too complex for my taste - and Windows based. One can add subscribtions with MQExplorer, too, but that's exactly what I want to avoid.
I need is something very simple: an implementation of subscribe command in a neat executable or script. of course it needs to accept parameters, like topic, subscriber's queue name etc.


What are you calling complex? It allows you to do a lot of stuff... including send publish and subscribe messages... There is no pcf involved there...

Chances are that if you're no able to publish / subscribe with RFHUtil you would not be successful any other way either ...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Subscriptions managed from shell?
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.