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 » IBM MQ API Support » Dead Letter Q Headers

Post new topic  Reply to topic
 Dead Letter Q Headers « View previous topic :: View next topic » 
Author Message
Gopi
PostPosted: Wed Jun 05, 2002 7:49 am    Post subject: Dead Letter Q Headers Reply with quote

Novice

Joined: 23 May 2002
Posts: 18

Can anybody tell me how to calculate the dead letter Q Header? information for a message on Dead Letter Q?

I have downloaded the deadletterhandler.c program from captialware, in that program everything is fine, when copying the data from buffer to newbuffer, we are eliminating the first 172 chars. So does it mean that every message on the deadletter Q have 172 chars of dead letter header information? If that is the case, how can i calculate the other header informations like TransmissionQ header...information for a meaasage on Tran Q?
Thanks,
Gopi.
Back to top
View user's profile Send private message
jhalstead
PostPosted: Wed Jun 05, 2002 8:53 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Yep MQDLH is 172 bytes in length. To calculate the size of the headers use the application programming reference guide.

http://www-3.ibm.com/software/ts/mqseries/library/manualsa/manuals/crosslatest.html

Look at the filed descriptions for the relevant header...
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Wed Jun 05, 2002 9:40 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

if you need to find size info you could use the C keyword sizeof

example

printf("Size = %d bytes\n",sizeof(MQDLH)); // Dead Letter
printf("Size = %d bytes\n",sizeof(MQXQH) //Xmit Queue Header

see cmqc.h for struct names
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Gopi
PostPosted: Wed Jun 05, 2002 6:32 pm    Post subject: Reply with quote

Novice

Joined: 23 May 2002
Posts: 18

Hi Guys,

ThankQ..
I appreciate your time & help..

Gopi
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 » IBM MQ API Support » Dead Letter Q Headers
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.