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 Java / JMS » MQMD Version 2 in Java

Post new topic  Reply to topic
 MQMD Version 2 in Java « View previous topic :: View next topic » 
Author Message
redondobch
PostPosted: Tue May 13, 2003 2:43 pm    Post subject: MQMD Version 2 in Java Reply with quote

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:

1.) hello_world.setVersion(MQC.MQMD_VERSION_2);
2.) pmo.options = MQC.MQPMO_VERSION_2;

Neither sets MQMD version to a value of 2.

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?
Back to top
View user's profile Send private message Send e-mail
WannaBeInAParker
PostPosted: Thu Dec 30, 2004 2:10 pm    Post subject: Reply with quote

Voyager

Joined: 09 Dec 2003
Posts: 81

I know this is a little dated, but did you ever get this resolved?
_________________
-WannaBe-
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 30, 2004 6:44 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

what version / CSD are you using for your jar files ??

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

MQSeries.net Forum Index » IBM MQ Java / JMS » MQMD Version 2 in Java
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.