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 » How to simulate a sequence number error

Post new topic  Reply to topic
 How to simulate a sequence number error « View previous topic :: View next topic » 
Author Message
wilsonho3
PostPosted: Wed Nov 26, 2003 4:56 am    Post subject: How to simulate a sequence number error Reply with quote

Voyager

Joined: 20 Nov 2001
Posts: 98
Location: Hong Kong

my site has MQ on the M/F and the front end is a NT. I have installed
a tool on the mainframe to monitoring sequence number error.
Whenever a seqence number error message appears on the MF, a
channel reset commnd will be called up to reset the sender channel.
How can I simulate a sequecne number error on the MF. Do I need
to set the sequence number on purpose (MF or NT) to create such
an error, any suggestion??

wilson
Back to top
View user's profile Send private message Send e-mail
dgolding
PostPosted: Wed Nov 26, 2003 5:07 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Reset either side to 999999 (or some other arbitary number) using:

reset chl(chlname) seqnum(999999)

or ON THE RECEIVING SIDE ONLY, do a "reset chl(chlname)". If you do it on the sending side, this will force the receiving side to accept it, and you won't get a sequence number error.

HTH
Back to top
View user's profile Send private message Visit poster's website
CHF
PostPosted: Tue Aug 09, 2005 10:09 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

I am trying to simulate the error but in vain. I am resetting the receiver channel only, but it seems not to be working for some reason.


I am on Windows XP - WebSphere MQ 5.3 - CSD05

Any ideas?
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
wschutz
PostPosted: Tue Aug 09, 2005 10:59 am    Post subject: Reply with quote

Jedi Knight

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

Have you tried sending a message across that channel, its when the message flows that you'll see the sequence number error....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
CHF
PostPosted: Tue Aug 09, 2005 12:26 pm    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Quote:
Have you tried sending a message across that channel

I did, but no error.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
vennela
PostPosted: Tue Aug 09, 2005 12:35 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

CHF wrote:
Quote:
Have you tried sending a message across that channel

I did, but no error.


Is it a persistent message?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nigelg
PostPosted: Wed Aug 10, 2005 12:10 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Write a channel receive exit to amend the sequence number on a msg when it arrives at the receiver.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
ChrisW
PostPosted: Wed Aug 10, 2005 1:28 am    Post subject: Reply with quote

Voyager

Joined: 20 May 2001
Posts: 78
Location: UK

Just to clarify above - sequence numbers are not recorded until a persistent message has passed across the channel. You also need to ensure that a command server is running for the QM.
Back to top
View user's profile Send private message Send e-mail
CHF
PostPosted: Wed Aug 10, 2005 5:14 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Thanks all. Its working after I start sending the Persistent Messages.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to simulate a sequence number error
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.