Author |
Message
|
henry00 |
Posted: Tue May 26, 2015 9:51 am Post subject: Problem with RESETSEQ parameter on channel |
|
|
Newbie
Joined: 26 May 2015 Posts: 7
|
I have a RCVR channel where the RESETSEQ has a value, in this case 1217. It seems that each time the channel stops and starts the sequence number is set back to 1217 cauing out of sequence errors.
However, i am unable to change this to NO.
From what I can find
"RESETSEQ Pending reset sequence number.
This is the sequence number from an outstanding request and it indicates a user RESET CHANNEL command request is outstanding.
A value of zero indicates that there is no outstanding RESET CHANNEL. The value can be in the range 1 - 999999999."
BUT, how do i set this to 0?
Ultimately i wish the channel to indicate RESETSEQ(NO) but a reset seqnum(0) failes as out of range, and an alter channel does not allow the resetseq parameter. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 26, 2015 11:28 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What happens if you reset the corresponding sender channel? |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue May 26, 2015 11:31 am Post subject: Re: Problem with RESETSEQ parameter on channel |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
henry00 wrote: |
I have a RCVR channel where the RESETSEQ has a value, in this case 1217. It seems that each time the channel stops and starts the sequence number is set back to 1217 cauing out of sequence errors. |
I'm guessing that the channel went into RETRY - due to sequence-wrap value mismatch. What were the values at BOTH ends of the channel?
So, all you did was set the sequence-wrap value to 1217 at the receiver end, then stop and start the channel? What would you expect the value to be?
Did you try reseting the channel from the sender end? Or, just the receiver end? _________________ 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 |
|
 |
henry00 |
Posted: Tue May 26, 2015 11:32 am Post subject: |
|
|
Newbie
Joined: 26 May 2015 Posts: 7
|
no difference, except the RESETSEQ value is now 1 |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 26, 2015 11:40 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Does the channel start?
Does the sender channel start?
Do the queue managers present errors?
Is the network open for both queue managers to talk to each other? |
|
Back to top |
|
 |
henry00 |
Posted: Tue May 26, 2015 11:41 am Post subject: |
|
|
Newbie
Joined: 26 May 2015 Posts: 7
|
my work around is to reset the sequence value on the SDR to match the expected value (would also work the other way) and then the processing continues. next day after teh channel times out due to inactivity it resets to the RESETSEQ value and i am back where i started. |
|
Back to top |
|
 |
henry00 |
Posted: Tue May 26, 2015 11:46 am Post subject: |
|
|
Newbie
Joined: 26 May 2015 Posts: 7
|
once the sequence values are in sync between SDR and RCVR everthing functions as expected.
Both ends of the configuration are communicating.
As a side note there is a second channel between both servers handling traffic for a different line and it is defined as RESETSEQ(NO) when i display the channel. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue May 26, 2015 1:07 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
henry00 wrote: |
As a side note there is a second channel between both servers handling traffic for a different line and it is defined as RESETSEQ(NO) when i display the channel. |
As described here http://www-01.ibm.com/support/docview.wss?uid=swg21620936, this is not a channel definition - rather, it is a current value indicating:
Quote: |
RESETSEQ => New in 7.1
Pending reset sequence number.
This is the sequence number from an outstanding request and it indicates a user RESET CHANNEL command request is outstanding. |
...because you issued the RESET command.
Again, if you issue this command at the RCVR end of the channel, only the RCVR channel instance is reset. _________________ 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 |
|
 |
henry00 |
Posted: Wed May 27, 2015 4:16 am Post subject: |
|
|
Newbie
Joined: 26 May 2015 Posts: 7
|
i understand that this is the defintion of the RESETSEQ parameter within the CHANNEL status. The question is how do i get this to reflect RESETSEQ(NO) instead of RESETSEQ(###). When there is an actual value here, each time the channel stops and starts (say do to a timeout) the sequence reset to ### and i get the out of sequence errors and am forced to manually reset the SEQNUM to the expected value at which time the data flows as expected. I am just getting tired of having to do this reset each day.
I can find ooddles and ooddles of documentation around what the RESETSEQ means but have not been able to find any information on how to get it to reflect RESETSEQ(NO) |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 27, 2015 4:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
henry00 wrote: |
i understand that this is the defintion of the RESETSEQ parameter within the CHANNEL status. The question is how do i get this to reflect RESETSEQ(NO) instead of RESETSEQ(###). When there is an actual value here, each time the channel stops and starts (say do to a timeout) the sequence reset to ### and i get the out of sequence errors and am forced to manually reset the SEQNUM to the expected value at which time the data flows as expected. I am just getting tired of having to do this reset each day.
I can find ooddles and ooddles of documentation around what the RESETSEQ means but have not been able to find any information on how to get it to reflect RESETSEQ(NO) |
This reminds me of some discussion about the channel running under a non privileged MCAUser and the mcauser missing some rights (not being able to create the scratchfile)?
What user is your channel running under?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed May 27, 2015 4:32 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
henry00 wrote: |
i understand that this is the defintion of the RESETSEQ parameter within the CHANNEL status. The question is how do i get this to reflect RESETSEQ(NO) instead of RESETSEQ(###). When there is an actual value here, each time the channel stops and starts (say do to a timeout) the sequence reset to ### and i get the out of sequence errors and am forced to manually reset the SEQNUM to the expected value at which time the data flows as expected. I am just getting tired of having to do this reset each day.
I can find ooddles and ooddles of documentation around what the RESETSEQ means but have not been able to find any information on how to get it to reflect RESETSEQ(NO) |
If RESETSEQ has a value, it means that you or someone other admin or automation you have in place has issued the RESET CHANNEL command. Stop issuing the RESET CHANNEL command.
To stop the out-of-sequence event, look at the error logs on both ends of the channel to find out why the channel is failing. _________________ 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 |
|
 |
hughson |
Posted: Wed May 27, 2015 5:10 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Remember that a RESET sequence number is not hardened until a recoverable message is successfully moved across the channel.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 27, 2015 5:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
hughson wrote: |
Remember that a RESET sequence number is not hardened until a recoverable message is successfully moved across the channel.
Cheers
Morag |
Define recoverable: do you mean persistent?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
hughson |
Posted: Wed May 27, 2015 5:27 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
fjb_saper wrote: |
Define recoverable: do you mean persistent?  |
A recoverable message sent across a channel means either:-
- Persistent message
- Any message (persistent or non-persistent) over an NPMSPEED(NORMAL) channel
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed May 27, 2015 5:28 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
fjb_saper wrote: |
hughson wrote: |
Remember that a RESET sequence number is not hardened until a recoverable message is successfully moved across the channel.
Cheers
Morag |
Define recoverable: do you mean persistent?  |
A message sent in a Unit of Work. _________________ 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 |
|
 |
|