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 » WebSphere Message Broker (ACE) Support » MsgDesc "2"..

Post new topic  Reply to topic Goto page Previous  1, 2
 MsgDesc "2".. « View previous topic :: View next topic » 
Author Message
jefflowrey
PostPosted: Sat May 27, 2006 11:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Use an API exit to copy the message, not a channel exit.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
guest_2008
PostPosted: Sat May 27, 2006 12:09 pm    Post subject: Reply with quote

Novice

Joined: 25 May 2006
Posts: 14

Hi...

It is more useful your information’s, but I need to clarify the one more point...

Already we are stripping XQH (104byts) + MQMD1 (324 bytes) and reading the rfh2 header values from payload data.

But if message comes with MQMD2, we are not able get the rfh2 header values? From the below link I am able to see the MQMD2header values and the total length is 72bytes but it is not showing the exact structure for MQMD2 (MQMD1+MQMDE).

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00570_.htm

Any idea what is the exact structure for MQMD2 (MQMD1+MQMDE)?

Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Sat May 27, 2006 12:27 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Does this help:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzak.doc/csqzak10129.htm
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
guest_2008
PostPosted: Sat May 27, 2006 1:41 pm    Post subject: Reply with quote

Novice

Joined: 25 May 2006
Posts: 14

Thanks Jeff ...


but we can't change the design at this point ? this is an one of our production issue !!
Back to top
View user's profile Send private message Send e-mail
guest_2008
PostPosted: Sat May 27, 2006 1:51 pm    Post subject: Reply with quote

Novice

Joined: 25 May 2006
Posts: 14

Hi..

Once again thanks for your link. Already I have this information and also I am able to understand the structure of MQMD and MQMDE but the problem is: What is combination (MQMD1+MQMDE) of header sequence? If I know this I can create MRM to strip the MQMD2 header.


MQMD Structure :

typedef struct tagMQMD MQMD;
struct tagMQMD {
MQCHAR4 StrucId; /* Structure identifier */
MQLONG Version; /* Structure version number */
MQLONG Report; /* Options for report messages */
MQLONG MsgType; /* Message type */
MQLONG Expiry; /* Message lifetime */
MQLONG Feedback; /* Feedback or reason code */
MQLONG Encoding; /* Numeric encoding of message data */
MQLONG CodedCharSetId; /* Character set identifier of message
data */
MQCHAR8 Format; /* Format name of message data */
MQLONG Priority; /* Message priority */
MQLONG Persistence; /* Message persistence */
MQBYTE24 MsgId; /* Message identifier */
MQBYTE24 CorrelId; /* Correlation identifier */
MQLONG BackoutCount; /* Backout counter */
MQCHAR48 ReplyToQ; /* Name of reply queue */
MQCHAR48 ReplyToQMgr; /* Name of reply queue manager */
MQCHAR12 UserIdentifier; /* User identifier */
MQBYTE32 AccountingToken; /* Accounting token */
MQCHAR32 ApplIdentityData; /* Application data relating to
identity */
MQLONG PutApplType; /* Type of application that put the
message */
MQCHAR28 PutApplName; /* Name of application that put the
message */
MQCHAR8 PutDate; /* Date when message was put */
MQCHAR8 PutTime; /* Time when message was put */
MQCHAR4 ApplOriginData; /* Application data relating to origin */
MQBYTE24 GroupId; /* Group identifier */
MQLONG MsgSeqNumber; /* Sequence number of logical message
within group */
MQLONG Offset; /* Offset of data in physical message
from start of logical message */
MQLONG MsgFlags; /* Message flags */
MQLONG OriginalLength; /* Length of original message */
};

MQMDE Structure

typedef struct tagMQMDE MQMDE;
struct tagMQMDE {
MQCHAR4 StrucId; /* Structure identifier */
MQLONG Version; /* Structure version number */
MQLONG StrucLength; /* Length of MQMDE structure */
MQLONG Encoding; /* Numeric encoding of data that follows
MQMDE */
MQLONG CodedCharSetId; /* Character-set identifier of data that
follows MQMDE */
MQCHAR8 Format; /* Format name of data that follows
MQMDE */
MQLONG Flags; /* General flags */
MQBYTE24 GroupId; /* Group identifier */
MQLONG MsgSeqNumber; /* Sequence number of logical message
within group */
MQLONG Offset; /* Offset of data in physical message from
start of logical message */
MQLONG MsgFlags; /* Message flags */
MQLONG OriginalLength; /* Length of original message */
};

Back to top
View user's profile Send private message Send e-mail
guest_2008
PostPosted: Sat May 27, 2006 2:14 pm    Post subject: Reply with quote

Novice

Joined: 25 May 2006
Posts: 14

In the below i have posted the failed message header details :

XQH xxx_xxxxxxxxxxx_xxx.xxQ xxxxxxxxQM1 MD  ÿÿÿÿ  3MQHMDE 000006 000006 TES_TOPIC xxxxxxxxxx2 MHS 1286 055323050609452195004 java 2006052309451538 MDE  H  ¸MQHRF2 AMQ xxxxxxxxxxx24F„CÓ  ÿÿÿÿRFH  ô  ¸MQSTR ¸ <mcd><Msd>jms_text</Msd></mcd> T<jms><Dst>queue://SNT.KO.ANK_xxxx/Dst><Tms>1148377515157</Tms><Dlv>2</Dlv></jms>

After XMITQ header i am able to see the MQMD2 version (MQMD1+MQMDE) details..but i don't the sequence ?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MsgDesc "2"..
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.