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 » RESET CHANNEL

Post new topic  Reply to topic
 RESET CHANNEL « View previous topic :: View next topic » 
Author Message
solomon_13000
PostPosted: Thu Sep 18, 2008 7:23 pm    Post subject: RESET CHANNEL Reply with quote

Master

Joined: 13 Jun 2008
Posts: 284

I found an MQSC command to reset a channel. When do we actually reset a channel and why do we specify the seqnum when resetting a channel?. Is it for the purpose of setting the importance of a message?. In other a sender can decide which message should arrive to the receiver earlier. In terms of the sequence number, how do we determent is it 1 or 5 or?. Is it base on the importance of the message that the sender is sending to the receiver?.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 18, 2008 8:05 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

The intercommunications manual will have an answer for your questions
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
solomon_13000
PostPosted: Fri Sep 19, 2008 5:29 am    Post subject: Reply with quote

Master

Joined: 13 Jun 2008
Posts: 284

So a message is assigned a sequence number to ensure that the receiver receives the message in the order in which it is sent by the sender. The sequence number is generated at the sender end of the channel. This means that the receiver will retrieve the messages from the local queue in a sequential order. But then if suppose I change the sequence of the messages sent to the receiver by issuing the RESET CHANNEL command what will be the possible impact?.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Sep 19, 2008 6:57 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

solomon_13000 wrote:
So a message is assigned a sequence number to ensure that the receiver receives the message in the order in which it is sent by the sender. The sequence number is generated at the sender end of the channel. This means that the receiver will retrieve the messages from the local queue in a sequential order. But then if suppose I change the sequence of the messages sent to the receiver by issuing the RESET CHANNEL command what will be the possible impact?.


Are you getting confused with message groups or segmented messages?

Channel sequence numbers are easy to understand - each end of the channel maintains a count of messages passed between each end - and have nothing to do with messages being retrieved from a local queue at the receiving end.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Sep 19, 2008 7:53 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

The sequence wrap field is used at both ends of a channel. Each MCA increments this field by one for each message sent/received. The channel ends compare these fields to detect (possible) loss of messages.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
solomon_13000
PostPosted: Fri Sep 19, 2008 9:27 am    Post subject: Reply with quote

Master

Joined: 13 Jun 2008
Posts: 284

So using DISPLAY CHSTATUS I can see the channel sequence number. Using this sequence number we can determent if the messages are lost. Is this applied to only non persistant messages?.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Sep 19, 2008 10:56 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Using this sequence number we can determent if the messages are lost.

Yes and No.

No: This is how the message channel agents determine if messages are lost.

Yes: If the sender side sequence number is 1000, and the receiver side sequence number is 500, the mca's will think that 500 messages were not successfully delivered.

Quote:
Is this applied to only non persistant messages?.

This applies to all messages that are to be sent across a channel.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
solomon_13000
PostPosted: Fri Sep 19, 2008 6:40 pm    Post subject: Reply with quote

Master

Joined: 13 Jun 2008
Posts: 284

So if the sequence number at the channel ends are not the same, therefore the channel will stop.
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 » RESET CHANNEL
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.