Author |
Message
|
ivanachukapawn |
Posted: Mon Aug 10, 2009 8:29 am Post subject: strmqmbrk and # of subscriptions persistence |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Mon Aug 10, 2009 9:23 am Post subject: |
|
|
 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 |
|
 |
ivanachukapawn |
Posted: Mon Aug 10, 2009 9:51 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Mon Aug 10, 2009 12:12 pm Post subject: |
|
|
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 |
|
 |
ivanachukapawn |
Posted: Mon Aug 10, 2009 12:49 pm Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Mon Aug 10, 2009 4:08 pm Post subject: |
|
|
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 |
|
 |
ivanachukapawn |
Posted: Mon Aug 10, 2009 6:01 pm Post subject: |
|
|
 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 |
|
 |
vol |
Posted: Mon Aug 10, 2009 10:50 pm Post subject: |
|
|
Acolyte
Joined: 01 Feb 2009 Posts: 69
|
these are not shell commands
start runmqsc, then type the commands |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Tue Aug 11, 2009 5:11 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
yeah, duh! I figured that out. I am so sorry for that post.
thanks |
|
Back to top |
|
 |
|