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 » MQ ISeries MESSAGE ID Generation

Post new topic  Reply to topic
 MQ ISeries MESSAGE ID Generation « View previous topic :: View next topic » 
Author Message
nik_iway
PostPosted: Fri May 19, 2006 1:36 am    Post subject: MQ ISeries MESSAGE ID Generation Reply with quote

Centurion

Joined: 21 Jul 2005
Posts: 115

Hi,
On i Series during MQPUT i am specifying PUT Options PMNMID to generate unique messageID. I am browsing the QUEUE to get the
the messageid of all the messages

For EX say :

MESSAGE MESSAGEID
A 111
B 222
C 333

During GET CALL i am getting MESSAGEID of all the Messages

111
222
333

Again i am calling MQGET by passing the Message ID as Parameter to get particular message

SAY PASSED 222 to get B message

Everything is working fine

When i am using SAMPLE MQPUT Program of the Iseries AMQ3PUT4 it puts the Messages in the QUEUE

MESSAGE MESSAGEID
A XXXXXXXXXX
B XXXXXXXXXX
C XXXXXXXXXX

in the sample AMQ3PUT4 neither PMNMID or MINONE is being specified
When i am browsing and getting the Messages i am able to get the Message A B C but when i am browsing to get by MESSAGEID it always getting to the FIRST MESSAGE A

In the Browse options i am specifying
GMNWT GMATM GMBRWN

why this perculiarity do i need to explicitly say to MQ to generate the Message ID

Why is the MessageID in MQMD showing AMQ CLIENTA [ÈiD
Instead the the message id which was returned on the windows Server while issuing amqsbcg is

MsgId : X'414D512051412E534B414E4449412E44435469442000082C'

Waiting for reply
Regards
Nik
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri May 19, 2006 3:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
why this perculiarity do i need to explicitly say to MQ to generate the Message ID
So this is fairly basic "mq 101" stuff:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzak.doc/js01297.htm

Most of what you posted is what I would expect.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQ ISeries MESSAGE ID Generation
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.