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 Discussion » SEQUENCE Number weirdness????

Post new topic  Reply to topic
 SEQUENCE Number weirdness???? « View previous topic :: View next topic » 
Author Message
cicsprog
PostPosted: Thu Mar 30, 2017 11:32 am    Post subject: SEQUENCE Number weirdness???? Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 314

I was moving over some Automation (AO) to a new site. The AO traps on CSQX526E and issues a RESET to fix the mismatch. It always worked at other sites.

When I try to create a SEQUENCE number mismatch between two ZOS MQs at v8, I can't get the error to come out. Tried
- I deleted one side of the channel pair after sending messages, then redefined. But still didn’t raise error
- Issued my own RESET to a large sequence number on one side of the channel. That didn’t work.
-Issued a NETSTAT DROP on the connection and some other stuff and that wouldn’t raise the error.
-edited SYNCQ and deleted msgs for the channels

Did v8 add some sort of auto fix or ignore Sequence number parameter?
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Thu Mar 30, 2017 11:57 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

What type of channels are connecting these two Queue Managers ?
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
cicsprog
PostPosted: Thu Mar 30, 2017 12:00 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 314

Sender and Receiver
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Thu Mar 30, 2017 12:20 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Shame, was hoping that it was a Cluster pair since they don't check sequence numbers and it would have explained it.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Thu Mar 30, 2017 12:37 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You have to issue the RESET on the sender side, I think, to get an out of sequence.

I believe the receiver causes the channels to resync.

Maybe it's the other way around?

Whichever way you tried to reset to a large number, try the other way.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Thu Mar 30, 2017 12:39 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

It's the other way. You have to issue the RESET on the receiver end to 'cause' a problem. If the RESET is issued on the sender then it just tells the receiver the new start point when you next start the channel.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
hughson
PostPosted: Thu Mar 30, 2017 12:53 pm    Post subject: Re: SEQUENCE Number weirdness???? Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

cicsprog wrote:
Tried
- I deleted one side of the channel pair after sending messages, then redefined. But still didn't raise error
I think it matters whether the messages you sent were persistent. Try this one again ensuring that the messages you sent were persistent messages.
cicsprog wrote:
- Issued my own RESET to a large sequence number on one side of the channel. That didn't work.
As noted by others, this must be done on the RECEIVER end to work.
cicsprog wrote:
-Issued a NETSTAT DROP on the connection and some other stuff and that wouldn't raise the error.
Not sure this would be destructive enough to cause a sequence number error.
cicsprog wrote:
-edited SYNCQ and deleted msgs for the channels
This should have the same effect as deleting the channel definition. You have to know how to find the correct messages though. It's not the ones with the Msg/CorrelID of the channel name. You need to find the ones with the channel name in the body of the message.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
cicsprog
PostPosted: Thu Mar 30, 2017 1:34 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 314

Homer Doh....Ya...they needed to be PRES msgs...darn...my ISPF utility set to NON...nice catch Morag!!! My 58 year old brain is shot.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Mar 30, 2017 3:33 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

If sequence numbers could safely be reset automatically I think IBM would have coded MQ to do it on its own. Unless you are prone to frequent MQ channel sequence number mismatches for known reasons that allow for an automatic reset?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
cicsprog
PostPosted: Fri Mar 31, 2017 7:39 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 314

PeterPotkay wrote:
If sequence numbers could safely be reset automatically I think IBM would have coded MQ to do it on its own. Unless you are prone to frequent MQ channel sequence number mismatches for known reasons that allow for an automatic reset?


Like server admins that rebuild their servers and QManagers frequently you mean? I'm not defending the method only trying to stop the madness.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Mar 31, 2017 1:35 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

cicsprog wrote:
PeterPotkay wrote:
If sequence numbers could safely be reset automatically I think IBM would have coded MQ to do it on its own. Unless you are prone to frequent MQ channel sequence number mismatches for known reasons that allow for an automatic reset?


Like server admins that rebuild their servers and QManagers frequently you mean? I'm not defending the method only trying to stop the madness.




Come on over here when you are done, plenty of madness to go around.
_________________
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 Discussion » SEQUENCE Number weirdness????
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.