Author |
Message
|
bkRaju |
Posted: Fri Jan 20, 2012 1:13 pm Post subject: Info on report message |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Hi,
can anyone tell me what is Report : 192 means in MQMD?
Is there any links where I can understand integers and corresponding kind of report messages? |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 20, 2012 1:18 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
From the WMQ Constants manual:
MQRO_PASS_MSG_ID 128
MQRO_PASS_CORREL_ID 64
128+64=192 _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 20, 2012 1:21 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Moved to General Discussion forum. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
bkRaju |
Posted: Fri Jan 20, 2012 1:33 pm Post subject: |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Thanks for the information, any idea in what scenario the report field value will be set ? |
|
Back to top |
|
 |
bkRaju |
Posted: Fri Jan 20, 2012 1:42 pm Post subject: |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Infact the message has been landed in backout queue.
FYI
StrucId : 'MD ' Version : 2
Report : 192 MsgType : 2
Expiry : -1 Feedback : 0
Encoding : 273 CodedCharSetId : 819
Format : 'MQSTR '
Priority : 0 Persistence : 1 |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 20, 2012 4:52 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
bkRaju wrote: |
... any idea in what scenario the report field value will be set ? |
Applications create request messages. Report messages are created by a qmgr or MCA, to report back to the requesting application the ultimate delivery of the request message. Both reply and report messages are considered part of the same transaction.
Therefore both reply and report messages will contain the CorrelId from the request message MsgId. This allows the requesting application to correlate (aggregate) both reply and report messages. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
bkRaju |
Posted: Fri Jan 20, 2012 5:40 pm Post subject: |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Report : 192 MsgType : 2
What it means when it is reply message with report 192? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Jan 20, 2012 6:02 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
An app that produces a message with the MQMD Report options set is telling us what it wants to happen. There are lots of report options. Some deal with what the sending app wants for automated system generated report messages, and how they should be produced. Other options are used to tell the next app that picks up that message what to do when producing a reply, or if it should send back a PAN or NAN message. Other report options are there to tell MQ what to do with the message if it can't be delivered.
Read this:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzak.doc/fr13320_.htm
A well written MQ application that picks up messages will inspect the MQMD_Report field of the message and respect the options set there.
If a Reply message has 192 in the Report field, it could mean:
The replying app was lazy and copied the 192 from the Request message into the Reply message, and it really means nothing.
-or-
The reply message is meant to produce ANOTHER reply message in response, and when it does, the app should be copying the Message ID from the 1st reply message into the Message ID of the 2nd reply message and copying the Correl ID of the 1st reply message into the Correl ID of the 2nd reply message.
As Bruce said:
MQRO_PASS_MSG_ID 128
MQRO_PASS_CORREL_ID 64
128+64=192 _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|