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 » DEFINE CHANNEL() REPLACE

Post new topic  Reply to topic
 DEFINE CHANNEL() REPLACE « View previous topic :: View next topic » 
Author Message
KramJ
PostPosted: Thu Feb 09, 2006 6:34 am    Post subject: DEFINE CHANNEL() REPLACE Reply with quote

Voyager

Joined: 09 Jan 2006
Posts: 80
Location: Atlanta

If you define a channel with REPLACE while the channel is running, doesn't it corrupt the channel object? I seem to remember this from MQ Administrator class. Is it okay to REPLACE the channel while it is stopped?
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Feb 09, 2006 7:10 am    Post subject: Reply with quote

Jedi Knight

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

I don't see why it would... the definition of the channel is read at startup time, so the changes don't become effective until a restart of the channel. I've done this hundreds of times .....

(after all, replacing a queue definition while messages are on the queue doesn' corrupt it).
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
KramJ
PostPosted: Thu Feb 09, 2006 7:51 am    Post subject: Reply with quote

Voyager

Joined: 09 Jan 2006
Posts: 80
Location: Atlanta

Quote:
after all, replacing a queue definition while messages are on the queue doesn' corrupt it


Right, I was thinking that too. Are there any objects that you should use ALTER instead of DEFINE REPLACE. I vaguely remember something from the class, but can't put my finger on it.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Feb 09, 2006 4:45 pm    Post subject: Reply with quote

Jedi Knight

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

Well... ALTER will only change an object definition if it exists, and only changes those attributes you specify on the command.

DEFINE..REPLACE will either create or update an object definition, and replace all the attributes, either from the command itself or the SYSTEM.DEFAULT... template
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
HubertKleinmanns
PostPosted: Fri Feb 10, 2006 8:44 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

wschutz wrote:
DEFINE..REPLACE will either create or update an object definition, and replace all the attributes, either from the command itself or the SYSTEM.DEFAULT... template


But status informations (such as channel sequence number) will not be changed.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » DEFINE CHANNEL() REPLACE
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.