Author |
Message
|
kavithadhevi |
Posted: Wed Aug 13, 2003 10:38 am Post subject: ALTMQFLS |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
I am trying this command on TANDEM NSK with MQ 5.2 for changing the queue server to a different one other than default queue server, but i am getting argument error. Works well for QLocal. Has anyone worked with this. I surely appreciate if anyone points out the mistake.
Quote: |
altmqfls --qmgr SDEV --type qm --server $MQQ1 TEST.MODEL.QUEUE |
MQSeries Alter MQ Files
AMQ7024: Arguments supplied to a command are not valid.
Usage: altmqfls [--qmgr QMgrName] [--type ObjType] [--volume Volume]
[--server ServerName] [--qsoptions options]
[--oflowsize Threshold] [--browse Bytes]
[--meascount counter] [--msgofsubvol MsgOFlowsubvol]
[--qsize (QPriExt,QSecExt,QMaxExt,OPriExt,OSecExt,OMaxExt)]
[--maintain Option] ObjectName _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Aug 13, 2003 12:08 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Model queues are owned by Status server and Not the Queue server. Hence you MUST point your Model queues to a New Status server. Add a new status server in your pathway and instead of $MQQ1 use the new server name and you should be fine.
Cheers
Kumar |
|
Back to top |
|
 |
kavithadhevi |
Posted: Wed Aug 13, 2003 12:28 pm Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
As per the Tandem System Admin doc, it says that QLOCAL and QMODEL uses Queue Server and anything other than these, uses Status server. (pg 231)
Initially i was confused with that and i checked, by mistake i assigned to a status server too, then i ended up recreating the qmanager.  _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Aug 13, 2003 12:48 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You are right to point out the manuals. It isnt right. Easy way to check out is, when you create a model queue, you just get a T file created in your queue manager M subvolume. No O and Q files get created which would suggest that they are not used by the Queue server. Also this file is not opened by any process.
Cheers
Kumar |
|
Back to top |
|
 |
kavithadhevi |
Posted: Thu Aug 14, 2003 4:44 am Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Thank you Kumar for the clear explanation. I really appreciate it
Let me try setting it to a status server. i hope it should work.
But why it doesnt give an error saying i am trying to set to wrong server instead of giving of a argument invalid error  _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Aug 14, 2003 5:04 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
The reason could be that since the argument(Queue server) passed in was wrong, it says, invalid argument.
Also bear in mind that to give you a new error message a new msg in the msg catalog needs to be added and that has to be ported accross all languages which is a very expensive task.
My guess... :)
Cheers
Kumar |
|
Back to top |
|
 |
kavithadhevi |
Posted: Fri Aug 15, 2003 9:23 am Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
I tried no use, didnt work. I had to recreate QManager again as it started to gave me 2195 error.
Any thoughts?  _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
|