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 » Alter namelist...

Post new topic  Reply to topic
 Alter namelist... « View previous topic :: View next topic » 
Author Message
Maximus
PostPosted: Tue Dec 15, 2009 6:20 am    Post subject: Alter namelist... Reply with quote

Acolyte

Joined: 14 Jun 2004
Posts: 57

Hi Guys,

Is there a way to alter a namelist in order to add a name to the list without erasing the one currently on the list?

When I do "alter namelist(testnl) names(name3)" it erases the previous entries which where "name1" and "name2".

I know that I could display the current names and then do an alter with the current names and adding the new one. But this would work for a manual process. I would like to automate the process using scripts that's why I am looking for a way to add a name or delete one, without affecting the current names in the list.

Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 15, 2009 10:23 am    Post subject: Re: Alter namelist... Reply with quote

Grand High Poobah

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

Maximus wrote:
Is there a way to alter a namelist in order to add a name to the list without erasing the one currently on the list?

When I do "alter namelist(testnl) names(name3)" it erases the previous entries which where "name1" and "name2".


AFAIK no - the alter command alters the namelist to the values given in the alter command.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Dec 15, 2009 12:52 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

alter namelist(testnl) names(name1,nae2,name3)

should work. You should include both existing and new cluster names in names attribute.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Dec 15, 2009 1:01 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Sam Uppu wrote:
...You should include both existing and new cluster names...


Nothing in the original post intimates that the namelist is for cluster-related purposes - don't assume, don't read more into a post than is there because it can taint your advice with mis/preconceptions
_________________
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
Maximus
PostPosted: Wed Dec 16, 2009 5:10 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jun 2004
Posts: 57

Actually its a list of Queues.

I know that by doing an alter with the current names and the new one I will accomplish what I want... but it becomes more difficult to script it then just having a way to add or delete entries in the namelist.

Thanks.
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 » Alter namelist...
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.