Posted: Tue May 13, 2003 2:43 pm Post subject: MQMD Version 2 in Java
Newbie
Joined: 07 Jan 2002 Posts: 2
I have an MQ Java app that needs to set the message in group and last message in group flags for messages destined for a z/OS platform. I’m not having any trouble setting the flags, but this causes the queue manager to create and extended header (format = MQHMDE) and inserts this header in the payload of the message. According to the IBM documentation I should be able to specify a version 2 MQMD, which is equivalent to a version 1 header plus the MDE. I’ve tried two approaches:
IBM’s documentation is not clear weather z/OS supports a version 2 header. All MQ versions are 5.3. With the version 1 header, the payload has an extra 72 bytes which is the extended header. I really don’t want to have to check for this at the mainframe.
MQ Explorer has no problem viewing the data correctly without the extra 72 byte MDE header.
Has anyone done anything like this? Am I on the right track?
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