Posted: Thu Jun 15, 2006 1:40 am Post subject: Question on Namelists
Newbie
Joined: 12 Sep 2005 Posts: 7
Hi
Could anyone please explain the Namelist practical usage with an example. I have read the manual, but did not find a suitable example to understand fully.
Thanks
A simple case would be an application that needs to act as a router between several queues. Rather than burying the list of queues that the application will pick between in some application specific configuration file or database or some other such, you can put those names in a namelist.
Then if the MQ Admin decides to change the name of a queue, the admin can also update the namelist at the same time.
The mirrorq sample code also uses a namelist to tell it what queues to mirror and where.
But really a namelist can hold any string data. _________________ I am *not* the model of the modern major general.
A namelist is used to define a list of names that all apply to an object.
For example, to specify that a qmgr belongs to more than one cluster add the cluster names to a namelist and put the namelist in the CLUSNL attribute of the qmgr. _________________ MQSeries.net helps those who help themselves..
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