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

Post new topic  Reply to topic Goto page Previous  1, 2
 MQMD « View previous topic :: View next topic » 
Author Message
JasonE
PostPosted: Wed Apr 28, 2004 1:01 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

MQLONG is 4 bytes

Filling in time...
Code:
#include <cmqc.h>
void main() {
    printf("Len MQMD : %d\n", sizeof(MQMD));
    printf("Len XQH : %d\n", sizeof(MQXQH));
}


Len MQMD : 364
Len XQH : 428
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Apr 28, 2004 3:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Jason,
thanks!!!
so the total header for each and every message going to another Qmgr is 364+428 = 792 bytes.

So the 758 number I had in my head dates back a couple of years so I'll subtract 40...
and end up with 752 ... only off by 6 bytes... (no need for new memory after all...)
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PeterPotkay
PostPosted: Wed Apr 28, 2004 4:23 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I went back at my program notes and saw that even though the program was originally compiled with the version 1 MQMD, I had planned for the version 2 just in case, and made the hold area big enough to accomadate either one. Sorry for the confusion. Looking at it quickly yesterday, I saw the hold area, saw the Version 1 copybook, and assumed they were equal. Hey, its been a few years since I even saw the program. I'm amazed I was able to even to find the thing!
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jstorni
PostPosted: Fri Feb 03, 2006 6:27 am    Post subject: MQMD and MQXQH Reply with quote

Novice

Joined: 03 Feb 2006
Posts: 10

Hellow,
MQXQH includes the message descriptor structure MQMD, so the total size of the message payload is "only" the size of MQXQH.
Anybody can confirm this ?

I want to determine the total overhead of a message to calculate a network link size.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

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