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 Installation/Configuration Support » strmqmbrk and # of subscriptions persistence

Post new topic  Reply to topic
 strmqmbrk and # of subscriptions persistence « View previous topic :: View next topic » 
Author Message
ivanachukapawn
PostPosted: Mon Aug 10, 2009 8:29 am    Post subject: strmqmbrk and # of subscriptions persistence Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

I have MQ7 on Windows but get command not found when entering strmqmbrk - don't know what to do to fix this. Also, I'm wondering how the MQMBRK persists subscriptions - file system, database?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Aug 10, 2009 9:23 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Pub Sub changed significantly under to covers between MQ 6 and MQ 7. That command only applies to the i5/OS in MQ 7.0.

Take a look at the Pub Sub guide on the Version 7 MQ Info Center for more info.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
ivanachukapawn
PostPosted: Mon Aug 10, 2009 9:51 am    Post subject: Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

Peter,

I'm reading the guide and see that I can display stored subscriptions using the DIS SBSTATUS command. However, when I try this I get not recognized internal or external command.

the pub sub guide states:

The local queue manager stores subscription information and when it receives a publication, scans the information to determine whether there is a subscription that matches the publication's topic and selection string.

But the guide does not specify where the subscriptions are stored or if there is a limitation on # of subscriptions?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 10, 2009 12:12 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Please make sure you are reviewing the WebSphere MQ Version 7 Guide.

And then try "dis sub(*)".
Back to top
View user's profile Send private message
ivanachukapawn
PostPosted: Mon Aug 10, 2009 12:49 pm    Post subject: Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

Jeff,

I am definitely looking at MQ Version 7.0 Publish/Subscribe User's Guide -

dspmq command works fine, but none of the pub/sub commands are found internal or external.

I also want to know how MQ persists subscriptions and if there is a limit to the number of subscriptions (this info does not appear in the documentation).
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 10, 2009 4:08 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Subscriptions are persisted as MQSC SUBSCRIPTION objects, that you can view using "DIS SUB(*) all".

I forget if this shows you dynamic subscriptions to dynamic topics or not, but I believe it does. It's certainly a source of some ... well, it has enabled me to rethink some portions of saveqmgr, let's just say.

The old MQ v6 pub/sub commands aren't relevant any more.
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqnar.doc/ps12010_.htm
Back to top
View user's profile Send private message
ivanachukapawn
PostPosted: Mon Aug 10, 2009 6:01 pm    Post subject: Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

Jeff,

curioser and curioser. when logged in as mqm and trying any of

dis sub(*) all
dis sub (*) all
dis sub(*)
dis sub (*)

I receive this error:

-bash: syntax error near unexpected token '('

this is on a 64 bit x-series Linux (red hat) system running MQ 7.0. The server is running ESX and the Linux is virtual.
Back to top
View user's profile Send private message
vol
PostPosted: Mon Aug 10, 2009 10:50 pm    Post subject: Reply with quote

Acolyte

Joined: 01 Feb 2009
Posts: 69

these are not shell commands

start runmqsc, then type the commands
Back to top
View user's profile Send private message
ivanachukapawn
PostPosted: Tue Aug 11, 2009 5:11 am    Post subject: Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

yeah, duh! I figured that out. I am so sorry for that post.

thanks
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 Installation/Configuration Support » strmqmbrk and # of subscriptions persistence
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.