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 » General IBM MQ Support » Question on uniqueness of MQMD.MsgId

Post new topic  Reply to topic
 Question on uniqueness of MQMD.MsgId « View previous topic :: View next topic » 
Author Message
prasadpav
PostPosted: Fri Sep 14, 2007 4:10 am    Post subject: Question on uniqueness of MQMD.MsgId Reply with quote

Centurion

Joined: 03 Oct 2004
Posts: 142

I'm writing a shell script to load queues with text files using MQO3 - Load/Unload support pack. Now these text files are created by unloading messages from a different queue.

If I load the queue with same text files twice, then the same message is appearing on the queue with the same MsgId. I thought when we put a message on queue, the MsgId must be unique. Or is the argument about unique MsgId is confined only to single transaction i.e. within a single transaction, all the messages which are put on a single queue must have different MsgId's.

Regards,
Prasad
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 14, 2007 4:37 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It seems that the unload process is saving the msgid in the file. Then, every time you load the file, it has the same id.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
prasadpav
PostPosted: Fri Sep 14, 2007 4:46 am    Post subject: Reply with quote

Centurion

Joined: 03 Oct 2004
Posts: 142

Yes, it is saving the entire MQMD structure in the file. But should the queue manager throw an exception saying that both the messages have same MsgId?

Regards,
Prasad
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 14, 2007 5:37 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No.
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Question on uniqueness of MQMD.MsgId
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.