Author |
Message
|
mahesh2069 |
Posted: Tue Aug 27, 2013 3:18 am Post subject: How to list all flow names with in broker. |
|
|
Centurion
Joined: 26 Jun 2013 Posts: 103
|
Hi All,
We can list flows with in execution group with
Code: |
mqsilist BrokerName -e 'Execution group name'
|
But I want to list all flows with in Broker with out repeating above statement for each execution group.
Is it possible to get all flow names with in broker ? _________________ Thanks & Regards
Mahesh Mediboyina
WMB Developer |
|
Back to top |
|
 |
dogorsy |
Posted: Tue Aug 27, 2013 3:28 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
yes, deploy all the message flows to the same execution group, then you only have to execute the command only once. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 27, 2013 3:28 am Post subject: Re: How to list all flow names with in broker. |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
mahesh2069 wrote: |
Hi All,
We can list flows with in execution group with
Code: |
mqsilist BrokerName -e 'Execution group name'
|
But I want to list all flows with in Broker with out repeating above statement for each execution group.
Is it possible to get all flow names with in broker ? |
Can you not write shell scripts ? Do you know how to use grep ? Can you not use command shell redirection ?
Why are you posting here? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Simbu |
Posted: Tue Aug 27, 2013 3:30 am Post subject: Re: How to list all flow names with in broker. |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
|
Back to top |
|
 |
dogorsy |
Posted: Tue Aug 27, 2013 3:31 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
and please remove the "WMB Developer" from the footer of your signature until you get some proper education. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 27, 2013 3:32 am Post subject: Re: How to list all flow names with in broker. |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
That's great Simbu - thanks for posting. You're just encouraging people to be dependent on you to perform Google lookups. You need to teach people to do their own work , and not sponge off other people. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Tibor |
Posted: Tue Aug 27, 2013 3:33 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
dogorsy wrote: |
yes, deploy all the message flows to the same execution group, then you only have to execute the command only once. |
You missed the smiley, I hope so...
@Mahesh: there is a switch for this function:
$ mqsilist -h
BIP1291I: Lists brokers and their properties.
Syntax:
mqsilist ([-a] | brokerSpec [-e egName]) [-r] [-d detailLevel] [-w timeoutSecs] [-v traceFileName]
Command Options:
'-a' list brokers of all versions on this machine (not applicable on z/OS)
'brokerSpec' list execution groups configured for a broker; is one of:
(a) 'brokerName' : Name of a locally defined broker
(b) '-n brokerFileName' : File containing remote broker connection parameters (*.broker)
(c) '-i ipAddress -p port -q qMgr' : hostname, port and queue manager of a remote broker
'-e egName' list deployed objects configured for an execution group.
'-r' recursive (display information on subcomponents, ignored for -d 0)
'-d detailLevel' control how much information to display. Valid values are:
0 = display minimal information (identical to older versions of mqsilist)
1 = display one-line summary per object (default)
2 = display detailed information
'-w timeoutSecs' maximum number of seconds to wait for any broker to respond (default is 60)
'-v traceFileName' send verbose internal trace to the specified file.
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 27, 2013 3:34 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Tibor wrote: |
dogorsy wrote: |
yes, deploy all the message flows to the same execution group, then you only have to execute the command only once. |
You missed the smiley, I hope so...
@Mahesh: there is a switch for this function:
$ mqsilist -h
BIP1291I: Lists brokers and their properties.
Syntax:
mqsilist ([-a] | brokerSpec [-e egName]) [-r] [-d detailLevel] [-w timeoutSecs] [-v traceFileName]
Command Options:
'-a' list brokers of all versions on this machine (not applicable on z/OS)
'brokerSpec' list execution groups configured for a broker; is one of:
(a) 'brokerName' : Name of a locally defined broker
(b) '-n brokerFileName' : File containing remote broker connection parameters (*.broker)
(c) '-i ipAddress -p port -q qMgr' : hostname, port and queue manager of a remote broker
'-e egName' list deployed objects configured for an execution group.
'-r' recursive (display information on subcomponents, ignored for -d 0)
'-d detailLevel' control how much information to display. Valid values are:
0 = display minimal information (identical to older versions of mqsilist)
1 = display one-line summary per object (default)
2 = display detailed information
'-w timeoutSecs' maximum number of seconds to wait for any broker to respond (default is 60)
'-v traceFileName' send verbose internal trace to the specified file.
|
THANK YOU TOO TIBOR Like people who cannot read the documentation should be message flow developers. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Tibor |
Posted: Tue Aug 27, 2013 3:39 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
@lancelotlinc:welcome however Simbu was faster...
Please be a little bit easy, not all the developers are shell script gurus. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 27, 2013 3:42 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Tibor wrote: |
@lancelotlinc:welcome however Simbu was faster...
Please be a little bit easy, not all the developers are shell script gurus. |
If someone cannot or chooses not to read the documentation, they should not be posting here.
Participation in this forum requires people to do their own work. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Simbu |
Posted: Tue Aug 27, 2013 3:46 am Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
Tibor wrote: |
@Mahesh: there is a switch for this function:
[i]$ mqsilist -h |
so far I used only
good learning from you today. Thank you "Tibor" |
|
Back to top |
|
 |
mahesh2069 |
Posted: Tue Aug 27, 2013 4:26 am Post subject: It's Working |
|
|
Centurion
Joined: 26 Jun 2013 Posts: 103
|
Hi Simbu,
Thank you Simbu.I go through documentation of mqsilist, I have not tried ' -r' ,now I tried , it's working fine. _________________ Thanks & Regards
Mahesh Mediboyina
WMB Developer |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 27, 2013 4:31 am Post subject: Re: It's Working |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
mahesh2069 wrote: |
Hi Simbu,
Thank you Simbu.I go through documentation of mqsilist, I have not tried ' -r' ,now I tried , it's working fine. |
And why could you not have looked this up yourrself? Do you know how to use Google? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 27, 2013 4:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
If someone cannot or chooses not to read the documentation, they should not be posting here. |
Yet they continue to do so. Take a breath; these people are where @mqjeff (in his many incarnations) and myself were 3 years ago. They'll soon learn that if you start throwing fish, the seals start to mob you.
lancelotlinc wrote: |
Participation in this forum requires people to do their own work. |
No, participation in this forum requires people to provide a valid email address. We encourage people to do their own work, we aspire to be a gathering of technologists sharing insights into the deeper workings of the product and we are not a training resource.
So we encourage the sharing of fishing knowledge; we have not banned the throwing of fish. This is left to the conscience of the individual. Only annoying and unhelpful posts are banned  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|