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 » General Discussion » Info on report message

Post new topic  Reply to topic
 Info on report message « View previous topic :: View next topic » 
Author Message
bkRaju
PostPosted: Fri Jan 20, 2012 1:13 pm    Post subject: Info on report message Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Fri Jan 20, 2012 1:18 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
bruce2359
PostPosted: Fri Jan 20, 2012 1:21 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
bkRaju
PostPosted: Fri Jan 20, 2012 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
bkRaju
PostPosted: Fri Jan 20, 2012 1:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Fri Jan 20, 2012 4:52 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
bkRaju
PostPosted: Fri Jan 20, 2012 5:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jan 20, 2012 6:02 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

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
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 » General Discussion » Info on report message
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.