|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Whether appln needs to be stopped or the sender channel |
« View previous topic :: View next topic » |
Author |
Message
|
meghag |
Posted: Sat Apr 18, 2009 12:15 am Post subject: Whether appln needs to be stopped or the sender channel |
|
|
 Newbie
Joined: 17 Apr 2009 Posts: 4 Location: India
|
Please go thru the query below:
DEFINE CHANNEL(ABC.TO.XYZ) CHLTYPE(SDR) TRPTYPE(TCP) +
REPLACE DESCR('Sender Channel to XYZ') XMITQ(XYZPAQM) +
CONNAME('abc.xyz(1414)')
If we want to run the a/m script 'in-flight' , that is without stopping the application or stopping the old MQ channel, will the script work? This scripts needs to be run in our prod env.
Please help me findng out whether the whole application needs to stopped to run the script or only the sender channel will be stopped.  |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Apr 18, 2009 12:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
This is a qmgr to qmgr chl. The application is not involved but for the fact that it will take a hit if you have a request / response scenario going on.
You can run the update, but for it to take effect you need to stop and restart the channel. You might also need to reset the seqnum... Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
meghag |
Posted: Sat Apr 18, 2009 12:33 am Post subject: |
|
|
 Newbie
Joined: 17 Apr 2009 Posts: 4 Location: India
|
Thanks for this.
So according to you we just need to stop the channel.
What if the channel is not QM to QM????  |
|
Back to top |
|
 |
kevinf2349 |
Posted: Sat Apr 18, 2009 6:49 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
meghag wrote: |
Thanks for this.
So according to you we just need to stop the channel.
What if the channel is not QM to QM????  |
Then what would be the point of the MQ channel definition in the first place? |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Apr 19, 2009 11:53 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
DEFINE CHANNEL(ABC.TO.XYZ) CHLTYPE(SDR) TRPTYPE(TCP) +
REPLACE DESCR('Sender Channel to XYZ') XMITQ(XYZPAQM) +
CONNAME('abc.xyz(1414)') |
Some questions arise.
Is this channel new? If this channel is new, then there are no issues with existing applications, and you can process this MQSC script any time.
If the channel exists, and is currently active, then your script is actually like an ALTER channel. If this is the case, and if the alterations/changes are to the important fields, then the changes will take effect the next time the channel is stopped and re-started. Clearly, a stopped channel cannot transmit application messages.
Did you DELETE the channel before the DEFINE? If you first deleted the channel (you didn't say if there is a DELETE channel command before the DEFINE), then you might encounter some channel synchronization issues with the receiving channel 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|