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 » WebSphere Message Broker (ACE) Support » equivalent of mqsibrowse in WMB V7?

Post new topic  Reply to topic
 equivalent of mqsibrowse in WMB V7? « View previous topic :: View next topic » 
Author Message
beth_carlin
PostPosted: Tue May 03, 2011 8:28 am    Post subject: equivalent of mqsibrowse in WMB V7? Reply with quote

Acolyte

Joined: 08 Jun 2004
Posts: 64

Hi WMB V7 experts

I have a script which uses this command

mqsibrowse brokername -t BSUBSCRIPTIONS

to get all the topics and queues


mqsibrowse no longer works in WMB V7.

Could you please let me know if there an equivalent command
to do this in script.

Thanks in advance for your help

Beth
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue May 03, 2011 8:37 am    Post subject: Re: equivalent of mqsibrowse in WMB V7? Reply with quote

Grand High Poobah

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

beth_carlin wrote:
Could you please let me know if there an equivalent command
to do this in script.


WMBv7 uses WMQv7 for all it's pub/sub functions. You should look at the options runmqsc offers you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue May 03, 2011 9:15 am    Post subject: Re: equivalent of mqsibrowse in WMB V7? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
beth_carlin wrote:
Could you please let me know if there an equivalent command
to do this in script.


WMBv7 uses WMQv7 for all it's pub/sub functions. You should look at the options runmqsc offers you.


Or PCF messages.

And to be clear, mqsibrowse does still work in Broker v7. It's just that the broker no longer has any notion of the data that was kept in the BSUBCRIPTIONS table and so the mqsibrowse command doesn't return a good result.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue May 03, 2011 9:21 am    Post subject: Re: equivalent of mqsibrowse in WMB V7? Reply with quote

Grand High Poobah

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

mqjeff wrote:
Vitor wrote:
beth_carlin wrote:
Could you please let me know if there an equivalent command
to do this in script.


WMBv7 uses WMQv7 for all it's pub/sub functions. You should look at the options runmqsc offers you.


Or PCF messages.


Or any of the other means of extracting information from a queue manager.

I plumped for runmqsc as it's an obvious fit with script. But any of the command line queue manager utilities / support pacs would of course fit in the same environment.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
skunkvasu
PostPosted: Tue May 10, 2011 2:36 am    Post subject: Reply with quote

Newbie

Joined: 18 Jan 2011
Posts: 2

use this :

echo "dis sub(*)" |runmqsc QM |grep sub string

where QM is your queue manager name
and
sub string is the subscription that you are trying to find.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue May 10, 2011 3:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

grep is a fine tool that generally only exists on Unix machines.
On windows, one could use find instead.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue May 10, 2011 5:25 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

There are several ports of 'grep' to Windows. I don't mean a GUI one either. A quick google for 'grep.exe' will point you in the right direction.
I have a toolbox of 'unix' utils that I install on new windows systems. These include tar/untar cpio, md5sum and naturally grep.

You could install the 'unix' personality stuff but in many places this is forbidden. Adding a few .exe's to a directory on your PATH is often easier than getting permission to install something.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue May 10, 2011 5:30 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
There are several ports of 'grep' to Windows. I don't mean a GUI one either. A quick google for 'grep.exe' will point you in the right direction.
I have a toolbox of 'unix' utils that I install on new windows systems. These include tar/untar cpio, md5sum and naturally grep.

You could install the 'unix' personality stuff but in many places this is forbidden. Adding a few .exe's to a directory on your PATH is often easier than getting permission to install something.


Yes.

Did you think I used the word "generally" in a non-technical sense?

Find is available on all windows machines, AFAIK.

netstat -an|find /i "LISTEN", for example.
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 » WebSphere Message Broker (ACE) Support » equivalent of mqsibrowse in WMB V7?
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.