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 » Whether appln needs to be stopped or the sender channel

Post new topic  Reply to topic
 Whether appln needs to be stopped or the sender channel « View previous topic :: View next topic » 
Author Message
meghag
PostPosted: Sat Apr 18, 2009 12:15 am    Post subject: Whether appln needs to be stopped or the sender channel Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sat Apr 18, 2009 12:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
meghag
PostPosted: Sat Apr 18, 2009 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Sat Apr 18, 2009 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Sun Apr 19, 2009 11:53 am    Post subject: Reply with quote

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
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 » Whether appln needs to be stopped or the sender 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.