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 » How to make an existing Qmgr default?

Post new topic  Reply to topic
 How to make an existing Qmgr default? « View previous topic :: View next topic » 
Author Message
ashu
PostPosted: Mon Feb 11, 2008 4:02 am    Post subject: How to make an existing Qmgr default? Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

any pointer is appreciated...
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 11, 2008 4:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Check out the manual for your platform. Check out MQExplorer manual, Check out the qm.ini stanzas for non windows... zOS will probably be the odd man out...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ashu
PostPosted: Mon Feb 11, 2008 4:39 am    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

I am on Windows platform and I can make a Qmgr default through the explorer...but I wanted to use the amqmdain command...and this is what it gives me:

Code:
Z:\>amqmdain reg * -c add -s DefaultQueueManager -v name=QM1
5724-H72 (C) Copyright IBM Corp. 1994, 2004.  ALL RIGHTS RESERVED.
Invalid stanza 'DefaultQueueManager' specified for All Queue Managers

Z:\>


where according to the documentation of amqmdain there is a stanza by the name DefaultQueueManager for Websphere MQ leve configuration...

P.S I am using MQ v6.0
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 11, 2008 4:46 am    Post subject: Reply with quote

Grand High Poobah

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

ashu wrote:
I am on Windows platform and I can make a Qmgr default through the explorer...but I wanted to use the amqmdain command...and this is what it gives me:

Code:
Z:\>amqmdain reg * -c add -s DefaultQueueManager -v name=QM1
5724-H72 (C) Copyright IBM Corp. 1994, 2004.  ALL RIGHTS RESERVED.
Invalid stanza 'DefaultQueueManager' specified for All Queue Managers

Z:\>


where according to the documentation of amqmdain there is a stanza by the name DefaultQueueManager for Websphere MQ leve configuration...

P.S I am using MQ v6.0



I don't think that asterisk is doing you any favours.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.amqzag.doc/fa15570_.htm?resultof=%22%61%6d%71%6d%64%61%69%6e%22%20
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ashu
PostPosted: Mon Feb 11, 2008 8:20 pm    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Quote:
amqmdain reg QMgrName | * RegParams
Parameters QMgrName, and * are optional.
If RegParams is specified alone: Modifies queue manager configuration information in the Windows Registry related to the default queue manager.
If QMgrName and RegParams are specified: Modifies queue manager configuration information in the Windows Registry related to the queue manager specified by QMgrName.
If * and RegParams are specified: Modifies WebSphere MQ configuration information in the Windows Registry.


This is an extract from the info center mentioned in the post above... DefaultQueueManager is an WebSphere MQ configuration information isn't it I had also tried without the QMgrName and * with the same result...
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 12, 2008 1:35 am    Post subject: Reply with quote

Grand High Poobah

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

ashu wrote:
I had also tried without the QMgrName and * with the same result...


Have you tried with the queue manager name? And no *?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ashu
PostPosted: Tue Feb 12, 2008 3:08 am    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Vitor wrote:
ashu wrote:
I had also tried without the QMgrName and * with the same result...


Have you tried with the queue manager name? And no *?


Yes I have tried with the Qmgr name too...it did not work... But then I read in the info center that if we have to manipulate the queue manager configuration information then we need to specify the specific QMgr name... and DefaultQueueManager is not a stanza of QMgr configuration but of WebSphere MQ configuration as a whole... isn't it So I supposed * would have been a better option...ofcourse these are my conclusions...please tell me if I am wrong...
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
ashu
PostPosted: Tue Feb 12, 2008 3:11 am    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

This is it:

Code:
Z:\>amqmdain reg QM1 -c add -s DefaultQueueManager -v name=QM1
5724-H72 (C) Copyright IBM Corp. 1994, 2004.  ALL RIGHTS RESERVED.
Invalid stanza 'DefaultQueueManager' specified for Queue Manager 'QM1'

Z:\>

_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
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 IBM MQ Support » How to make an existing Qmgr default?
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.