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 » IBM MQ Installation/Configuration Support » MQEVENT - Message processing in WMB

Post new topic  Reply to topic
 MQEVENT - Message processing in WMB « View previous topic :: View next topic » 
Author Message
shilpa.sabade
PostPosted: Fri Jan 31, 2014 11:36 am    Post subject: MQEVENT - Message processing in WMB Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jan 31, 2014 12:22 pm    Post subject: Re: MQEVENT - Message processing in WMB Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Fri Jan 31, 2014 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
shilpa.sabade
PostPosted: Fri Jan 31, 2014 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
shilpa.sabade
PostPosted: Fri Jan 31, 2014 12:58 pm    Post subject: Re: MQEVENT - Message processing in WMB Reply with quote

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
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 » IBM MQ Installation/Configuration Support » MQEVENT - Message processing in WMB
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.