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 » MQMD Version 1 or 2?

Post new topic  Reply to topic
 MQMD Version 1 or 2? « View previous topic :: View next topic » 
Author Message
JoePanjang
PostPosted: Tue Sep 30, 2003 11:26 pm    Post subject: MQMD Version 1 or 2? Reply with quote

Voyager

Joined: 10 Jul 2002
Posts: 88
Location: Dengkil MALAYSIA

Hi,

By default mqseries (os390 v5.2) came with MQMD version 1. There was an extension of those mqmd ie mqmde which is MQMD version 2 with extra fields. I have 2 questions about those version:-
(1) can 1 use both mqmd + mqmde as my standard message header? meaning define mqmd but with version 2 and add extra fields from mqmde or have to use both as difference libraries.
(2) when do we normally use this mqmde? is this coming only with v5.2 & above?

Thanks,

Joe
Back to top
View user's profile Send private message
raj.in
PostPosted: Wed Oct 01, 2003 2:19 am    Post subject: Reply with quote

Novice

Joined: 15 Sep 2003
Posts: 10
Location: India

Hi Joe ,

The MQMDE structure contains those MQMD fields that exist in the version-2 MQMD, but not in the version-1 MQMD . Declaration for the version-1 structure is available with the name MQMD1 & version-2 with the name MQMD in cmqc.h file .

ie ,
MQMD (version-2)
MQMD1 (version-1)
MQMDE (fields that exist in the version-2 , but not in the version-1)

A version-2 MQMD is generally equivalent to using a version-1 MQMD and prefixing the application message data with an MQMDE structure. However, if all of the fields in the MQMDE structure have their default values, the MQMDE can be omitted.

Normal applications should use a version-2 MQMD and they will not encounter an MQMDE structure. However, applications that continue to use a version-1 MQMD, may encounter an MQMDE in some situations as

Specified on the MQPUT and MQPUT1 calls
Returned by the MQGET call
In messages on transmission queues

For further details please refer Chapter 11. MQMDE - Message descriptor extension in Application Programming Reference (5.03V )


cheers
Raj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQMD Version 1 or 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.