Author |
Message
|
shilpa.sabade |
Posted: Fri Jan 31, 2014 11:36 am Post subject: MQEVENT - Message processing in WMB |
|
|
Voyager
Joined: 23 Feb 2011 Posts: 76
|
Am trying to develop a message flow , which takes MQEVENTs a input and sends an email to production support.
MQInput -- compute -- Emailout --- [error]--MQOutput
We have enables Performance , START/STOP events on Queue Managers ..
Upon occurrence of these events .. message flow reads event queue and processes the messages.
MQInput node is set to read these events as BLOB.
When i browse these events using MS0P support pack .. i get very friendly output
Code: |
**** Headers ****
MQCFH
Type : 7 (0x7)
StrucLength : 36 (0x24)
Version : 1 (0x1)
Command : 44 (0x2C) MQCMD_Q_MGR_EVENT
MsgSeqNumber : 1 (0x1)
Control : 1 (0x1)
CompCode : 1 (0x1)
Reason : 2222 (0x8AE) MQRC_Q_MGR_ACTIVE
ParameterCount : 1 (0x1)
MQCFST
Type : 4 (0x4)
StrucLength : 68 (0x44)
Parameter : 2015 (0x7DF) MQCA_Q_MGR_NAME
CodedCharSetId : 0 (0x0)
StringLength : 48 (0x30)
String : 'WMQC4 '
|
But in WMB FLOW i can only see : MQPCF header .. which does not contain much of details .. (Though it contains Reason code )
Code: |
MQPCF
Type:INTEGER:7
Version:INTEGER:1
Command:INTEGER:44
MsgSeqNumber:INTEGER:1
Control:INTEGER:1
CompCode:INTEGER:1
Reason:INTEGER:2222
Parameter:INTEGER:2015
CHARACTER:MB8QMGR
|
Is there a way in WMB to get details like of MS0P? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jan 31, 2014 12:22 pm Post subject: Re: MQEVENT - Message processing in WMB |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shilpa.sabade wrote: |
Is there a way in WMB to get details like of MS0P? |
Yes. Replicate the same kind of code that's in the MS0P support pac doing the look up in your flow.
Remember the support pac is just some code that someone wrote & put out there. It's not part of any product. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jan 31, 2014 12:30 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Use the MQ PCF Classes inside a JCN to parse the bitstream of a BLOB message. |
|
Back to top |
|
 |
shilpa.sabade |
Posted: Fri Jan 31, 2014 12:57 pm Post subject: |
|
|
Voyager
Joined: 23 Feb 2011 Posts: 76
|
mqjeff wrote: |
Use the MQ PCF Classes inside a JCN to parse the bitstream of a BLOB message. |
Thank you for the suggestion .
Tried this -- classes parses MQPCF header .. but this header contains only Reason code , No description.

Last edited by shilpa.sabade on Fri Jan 31, 2014 12:59 pm; edited 1 time in total |
|
Back to top |
|
 |
shilpa.sabade |
Posted: Fri Jan 31, 2014 12:58 pm Post subject: Re: MQEVENT - Message processing in WMB |
|
|
Voyager
Joined: 23 Feb 2011 Posts: 76
|
Vitor wrote: |
shilpa.sabade wrote: |
Is there a way in WMB to get details like of MS0P? |
Yes. Replicate the same kind of code that's in the MS0P support pac doing the look up in your flow.
Remember the support pac is just some code that someone wrote & put out there. It's not part of any product. |
Looks like .. MSOP .. in turn calls MQRC to determine the description .. I will try the same. Thank you. |
|
Back to top |
|
 |
|