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 » IBM MQ Installation/Configuration Support » Proper way to alter an auto defined receiver channel

Post new topic  Reply to topic
 Proper way to alter an auto defined receiver channel « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Mon Sep 15, 2014 9:52 am    Post subject: Proper way to alter an auto defined receiver channel Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I am running MQ V7 and had a need to ssl enabled a channel that was defined a long time ago. I than discovered that the channel was autodefined.
I cannot use runmqsc and the explorer to display or alter it.
I then stop the channel and then do the define a new receiver cahnnel with the same name. The define completed and then I am able to alter the channel attribute. Is this the right way to do it ? Did the new define actually deleted the original autodefined receiver ? I do not want to have unused residual MQ objects underneath the cover.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Sep 15, 2014 9:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Do you mean a cluster receiver channel?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Mon Sep 15, 2014 10:21 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

No, just regular receiver channel
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Sep 15, 2014 11:26 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

I think the channel stop auto deleted the channel. Your new definition name matches what was coming in and should work the way you want it to.

Turn off auto defined channels on the Qmgr attributes. This is very bad mojo.

Trout the person that turned that on.
Back to top
View user's profile Send private message AIM Address
WBI_user
PostPosted: Wed Sep 17, 2014 6:30 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

We had auto define disable for all Qmgrs. But as I said this was done long time ago and don't even know who did it. I just like to confirm that I did the right thing to fix the problem. This actually trigger one more question which is how can I find out how many more of these auto defined channels out there in my environment. I believe most of them are receiver channels. I am talking about non-cluster channels.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Sep 17, 2014 7:07 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

WBI_user wrote:
...how can I find out how many more of these auto defined channels out there in my environment...

Have a look at THIS.
_________________
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: Wed Sep 17, 2014 10:29 am    Post subject: Reply with quote

Poobah

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

WBI_user wrote:
...how can I find out how many more of these auto defined channels out there in my environment.

How many is far less important than identifying which channels are auto-defined.

Compare the MQSC script you use to populate your object definitions with the currently existing channel definitions. Those channel definitions that you did not create with your MQSC script must therefore be auto-defined.
_________________
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
smdavies99
PostPosted: Wed Sep 17, 2014 10:41 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

bruce2359 wrote:

Those channel definitions that you did not create with your MQSC script must therefore be auto-defined.


Or defined by some Admin not following the normal procedures of documenting the changes and adding the define commands to the scripts that are under change control.

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
hughson
PostPosted: Thu Sep 18, 2014 9:48 am    Post subject: Re: Proper way to alter an auto defined receiver channel Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1959
Location: Bay of Plenty, New Zealand

WBI_user wrote:
I am running MQ V7 and had a need to ssl enabled a channel that was defined a long time ago. I than discovered that the channel was autodefined.
I cannot use runmqsc and the explorer to display or alter it.
This surprises me - you should be able to see it just like any other defined channel. Once defined it's no different.
WBI_user wrote:
I then stop the channel and then do the define a new receiver cahnnel with the same name. The define completed and then I am able to alter the channel attribute. Is this the right way to do it ? Did the new define actually deleted the original autodefined receiver ? I do not want to have unused residual MQ objects underneath the cover.
If you used DEFINE REPLACE then the DEFINE command would over-ride what was there before.

As has been said by others, it would certainly do no harm to review your queue manager for any channels not following your shop's standards, or that are not in your back-up scripts, but they are just channel definitions like any other once they are created. So you should be able to just ALTER them as required to bring them into line with your requirements.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Thu Sep 18, 2014 10:23 am    Post subject: Re: Proper way to alter an auto defined receiver channel Reply with quote

Poobah

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

hughson wrote:
As has been said by others, it would certainly do no harm to review your queue manager for any channels not following your shop's standards, or that are not in your back-up scripts, but they are just channel definitions like any other once they are created. So you should be able to just ALTER them as required to bring them into line with your requirements.

Cheers
Morag

You should determine the create/alter dates of channels; and any channels with create/alter dates newer than the last official, approved and documented definitions should be suspect.
_________________
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 » IBM MQ Installation/Configuration Support » Proper way to alter an auto defined receiver 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.