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 » MQMessage help

Post new topic  Reply to topic
 MQMessage help « View previous topic :: View next topic » 
Author Message
Deepa Chandra
PostPosted: Thu May 23, 2002 1:50 am    Post subject: MQMessage help Reply with quote

Newbie

Joined: 09 Jan 2002
Posts: 4

Hi,
I'm using MQMessage class in Java to set the values of MQMD in Win NT.I'm using MQSeries 5.2
The values to be set were sent from an AS 400 machine. I have the following queries :
1. There is a 'StructId' specified which I am not able to locate in MQMessage. Is it specific to AS 400 ??
2. When I set the Message Id as '414FD3482347HSDGHSA9853485', in the message the last two digits are omitted. Any idea as to why its happening ??
3. The values for User Identifier and Application Identity Data are not getting set.
4. Even though the version is specifically set to 1, when the message is retieved it shows the version as 2.
5. The priority that has to be set (from AS 400 specifications) is -1. But it is getting set as 0.
Are these happening because of platform differences ???
please help.

Thanks & regards,
Deepa
Back to top
View user's profile Send private message
jhalstead
PostPosted: Thu May 23, 2002 3:24 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Have you had a good look at the application programming guide and application programming reference?

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

w.r.t. point 2: THe MQMQ.MsgId field is only 24 bytes long.

Jamie
Back to top
View user's profile Send private message Send e-mail
Deepa Chandra
PostPosted: Fri May 24, 2002 1:51 am    Post subject: Reply with quote

Newbie

Joined: 09 Jan 2002
Posts: 4

Thank you, Jamie.

Now most of the queries are cleared except for StrucId. I need to set it in Java using MQMessage. I read that the field is present in MQMD, but not able to locate how to set it through Java.
Also, the version I'm using is 2. Is it possible to set it to 1 and will the same be reflected else where ( right now, its not happening).

Thanks & regards,
Deepa
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 » MQMessage help
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.