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 » Ignore sequence number errors

Post new topic  Reply to topic
 Ignore sequence number errors « View previous topic :: View next topic » 
Author Message
romudd
PostPosted: Thu May 13, 2004 6:40 am    Post subject: Ignore sequence number errors Reply with quote

Apprentice

Joined: 12 Aug 2003
Posts: 31
Location: Sao Paulo - Brazil

Hello,

In some situations, it's necessary to use a spare server, or move the environment to a Backup site. In our case, it happens very often (there is no particular problem, it's "part of our business"), and sometimes it's necessary to move many queue managers at once, in a short period of time.
We can easily reset the seqnum of our Sender channels, and the remote Receivers will accept it as their new seqnum.
But my receivers cannot be started without human intervention, because they don't know the correct sequence number, and the remote sender was not resetted. The remote qms don't belong to us, and we have to spend a lot of time in phone calls, finding the person who will help us, resetting both sides of the channel, etc
So that's my question: is there a way to have the receivers channels to just accept the sequence number of the arriving messages, or automatically reset to this number? The application executes some checkings on the messages, so maybe we can "give up" the channel sequence control.


Thanks,
Rodrigo
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Thu May 13, 2004 6:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't personally know of a way to ignore the channel sequence number, but that doesn't mean there isn't one.

I'd thought that the error messages reporting the sequence number problem included the expected sequence number.

Yeah, doing a little digging
Messages manual wrote:
AMQ9505 Channel sequence number wrap values are different.

Explanation: The sequence number wrap value for channel '&3' is &1, but the value specified at the remote location is &2. The two values must be the same before the channel can be started.
User Response: Change either the local or remote channel definitions so that the values specified for the message sequence number wrap values are the same.

So, if you get this message on your side, you sould be able to parse it enough to pull out the &2 value, which will be what you need to reset it to. Then you can put this into a reset channel command.

This is probably the manual process you are following now. What I'm suggesting is writing a program to do this, and include it as part of your QM startup scripting.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri May 14, 2004 8:55 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I agree with Jeff that this is the only way to do what you want.

Be careful when and where you automatically reset sequence numbers with no human intervention, because another way of asking
"How do I automatically reset sequence numbers?"
is
"How do I automatically screw up one of the major ways that MQ assures messages get delivered once and only once?"
_________________
Peter Potkay
Keep Calm and MQ On
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 » Ignore sequence number errors
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.