Author |
Message
|
wbiman |
Posted: Mon Sep 27, 2004 11:35 am Post subject: MQSI 2.1 Mssgflow queue's |
|
|
Voyager
Joined: 13 Jul 2004 Posts: 84
|
Hi Friends,
Please Help.....I am looking for the way i can figure which message flow in using which Queues .....Since we have lot of message flow , IS there any SQL I can query DB2 database/table ?
Please if possible tell me the SQL and table to query...
Thanks for your help
Wbiman |
|
Back to top |
|
 |
siliconfish |
Posted: Mon Sep 27, 2004 1:48 pm Post subject: |
|
|
 Master
Joined: 12 Aug 2002 Posts: 203 Location: USA
|
use mqsireportproperties command |
|
Back to top |
|
 |
contactop |
Posted: Mon Sep 27, 2004 2:24 pm Post subject: |
|
|
Acolyte
Joined: 26 Jun 2003 Posts: 50
|
mqsireportproperties BrokerName -e ExecutionGroupLabel -o Object [ -n Name | -a | -r ]
'e' Execution Group name.
'o' Object name.
'n' Attribute name.
'a' indicates that all attribute values should be displayed (nonrecursive).
'r' indicates that all attribute values should be displayed (recursive).
hope so this would help u out. If u have mor ethan one execution group, u need to run the command for different Execution Group. |
|
Back to top |
|
 |
chanduy9 |
Posted: Mon Sep 27, 2004 3:12 pm Post subject: |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
Hi,
What are all the valid options we can specify with -o and -n. Here is the sample output I got when I ran the below command:
C:\>mqsireportproperties WBRK_BROKER -e default -o AllMessageFlows -a
MessageFlow
uuid='22c097bf-fe00-0000-0080-9eceb6aaf075'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='debugTrace'
traceFilter='none'
label='OAG_SYNCPRICELIST_METRIX_SAP'
additionalInstances='0'
commitCount='1'
commitInterval='0'
coordinatedTransaction='no'
StatsArchivalOn='inactive'
StatsArchiveThreadDataLevel='none'
StatsArchiveNodeDataLevel='none'
StatsSnapPublicationOn='inactive'
StatsSnapThreadDataLevel='none'
StatsSnapNodeDataLevel='none'
StatsArchiveOutputFormat='usertrace'
StatsSnapOutputFormat='usertrace'
StatsArchiveReset='no'
StatsArchiveAccountingOrigin='none'
StatsSnapAccountingOrigin='none'
MessageFlow
uuid='845d5197-fe00-0000-0080-9eceb6aaf075'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='debugTrace'
traceFilter='none'
label='METRIX_CRPRICE_PUB'
additionalInstances='0'
commitCount='1'
commitInterval='0'
coordinatedTransaction='no'
StatsArchivalOn='inactive'
StatsArchiveThreadDataLevel='none'
StatsArchiveNodeDataLevel='none'
StatsSnapPublicationOn='inactive'
StatsSnapThreadDataLevel='none'
StatsSnapNodeDataLevel='none'
StatsArchiveOutputFormat='usertrace'
StatsSnapOutputFormat='usertrace'
StatsArchiveReset='no'
StatsArchiveAccountingOrigin='none'
StatsSnapAccountingOrigin='none'
MessageFlow
uuid='Configuration'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='debugTrace'
traceFilter='none'
label='ConfigurationMessageFlow'
additionalInstances='0'
commitCount='1'
commitInterval='5'
coordinatedTransaction='no'
StatsArchivalOn='inactive'
StatsArchiveThreadDataLevel='none'
StatsArchiveNodeDataLevel='none'
StatsSnapPublicationOn='inactive'
StatsSnapThreadDataLevel='none'
StatsSnapNodeDataLevel='none'
StatsArchiveOutputFormat='usertrace'
StatsSnapOutputFormat='usertrace'
StatsArchiveReset='no'
StatsArchiveAccountingOrigin='none'
StatsSnapAccountingOrigin='none'
MessageFlow
uuid='MQPubSubInterOp'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='debugTrace'
traceFilter='none'
label='MQPubSubInterOpMsgFlow'
additionalInstances='0'
commitCount='1'
commitInterval='5'
coordinatedTransaction='no'
StatsArchivalOn='inactive'
StatsArchiveThreadDataLevel='none'
StatsArchiveNodeDataLevel='none'
StatsSnapPublicationOn='inactive'
StatsSnapThreadDataLevel='none'
StatsSnapNodeDataLevel='none'
StatsArchiveOutputFormat='usertrace'
StatsSnapOutputFormat='usertrace'
StatsArchiveReset='no'
StatsArchiveAccountingOrigin='none'
StatsSnapAccountingOrigin='none'
MessageFlow
uuid='PubSubControl'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='debugTrace'
traceFilter='none'
label='PubSubControlMsgFlow'
additionalInstances='0'
commitCount='1'
commitInterval='5'
coordinatedTransaction='no'
StatsArchivalOn='inactive'
StatsArchiveThreadDataLevel='none'
StatsArchiveNodeDataLevel='none'
StatsSnapPublicationOn='inactive'
StatsSnapThreadDataLevel='none'
StatsSnapNodeDataLevel='none'
StatsArchiveOutputFormat='usertrace'
StatsSnapOutputFormat='usertrace'
StatsArchiveReset=''
StatsArchiveAccountingOrigin='none'
StatsSnapAccountingOrigin='none'
MessageFlow
uuid='b5bf97bf-fe00-0000-0080-9eceb6aaf075'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='debugTrace'
traceFilter='none'
label='METRIX_SYNCPRICELIST_OAG'
additionalInstances='0'
commitCount='1'
commitInterval='0'
coordinatedTransaction='no'
StatsArchivalOn='inactive'
StatsArchiveThreadDataLevel='none'
StatsArchiveNodeDataLevel='none'
StatsSnapPublicationOn='inactive'
StatsSnapThreadDataLevel='none'
StatsSnapNodeDataLevel='none'
StatsArchiveOutputFormat='usertrace'
StatsSnapOutputFormat='usertrace'
StatsArchiveReset='no'
StatsArchiveAccountingOrigin='none'
StatsSnapAccountingOrigin='none'
MessageFlow
uuid='c974fc43-fe00-0000-0080-9eceb6aaf075'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='debugTrace'
traceFilter='none'
label='EDI_SELFBILLING_PAYMENT_TO_SAP'
additionalInstances='0'
commitCount='1'
commitInterval='0'
coordinatedTransaction='no'
StatsArchivalOn='inactive'
StatsArchiveThreadDataLevel='none'
StatsArchiveNodeDataLevel='none'
StatsSnapPublicationOn='inactive'
StatsSnapThreadDataLevel='none'
StatsSnapNodeDataLevel='none'
StatsArchiveOutputFormat='usertrace'
StatsSnapOutputFormat='usertrace'
StatsArchiveReset='no'
StatsArchiveAccountingOrigin='none'
StatsSnapAccountingOrigin='none'
BIP8071I: Successful command completion.
C:\>
There is no Queue names specifed. If we use -r option we are getting the Queue names..but the output is very huge..again we need to search for the queue names in the output...I think I am missing some options....
Thanks in Advance,
Chandra. |
|
Back to top |
|
 |
kirani |
Posted: Mon Sep 27, 2004 10:15 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Wbiman,
You can also export your message flows in single XML file and write a small program that will read properties from those XML file to display message flow name and the queue name.
I guess IBM does not publish all options for mqsireportproperties/mqsichangeproperties command. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
siliconfish |
Posted: Mon Sep 27, 2004 10:44 pm Post subject: |
|
|
 Master
Joined: 12 Aug 2002 Posts: 203 Location: USA
|
In Unix you can grep for the required info, but if your broker is running on windows, then follow Kiran's suggestion. |
|
Back to top |
|
 |
|