Author |
Message
|
anderc1 |
Posted: Thu Jul 01, 2010 11:20 am Post subject: setmqaut (type queue not found) |
|
|
 Acolyte
Joined: 11 Sep 2002 Posts: 55 Location: Research Triangle Park, NC
|
MQ - 6.0.2.7 on AIX 5.3.0.0
Trying to setmqaut on a queue and getting "type queue not found". Setmqaut on the Qmgr without issue, just doesn't like it for a queue.
Tried variations of quotes, "" and '' with no luck.
Tried different queue name, no luck.
Tried different order, -t then -n, no luck.
Any help appreciated.
setmqaut -m QmgrName -n QUEUE1Name -t queue -g GroupID +allmqi |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jul 01, 2010 11:23 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 01, 2010 11:26 am Post subject: Re: setmqaut (type queue not found) |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anderc1 wrote: |
Trying to setmqaut on a queue and getting "type queue not found". |
Given the nature of the error message, why not try a different type? The documentation suggests "q" as an alternative (without the quotes obviously). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Thu Jul 01, 2010 11:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Does the queue exist in the QM?
Try a generic profile for the queue name value e.g. ABC.** (in quotes). |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jul 01, 2010 11:34 am Post subject: Re: setmqaut (type queue not found) |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Vitor wrote: |
anderc1 wrote: |
Trying to setmqaut on a queue and getting "type queue not found". |
The documentation suggests "q" as an alternative (without the quotes obviously). |
For ex:
setmqaut -m saturn.queue.manager -n orange.queue -t q -g foxy -allmqi +alladm _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
anderc1 |
Posted: Thu Jul 01, 2010 12:21 pm Post subject: |
|
|
 Acolyte
Joined: 11 Sep 2002 Posts: 55 Location: Research Triangle Park, NC
|
Yes, the queue does exist and tried another queue as well.
Yes, read the manual.
Normally use just -q but the manual has both -q and queue. Same results either way. Worked with MQ on older versions of AIX for years and don't recall any issues with this command. So I am curious why it isn't working on AIX 5.3 or is it a simple syntax issue on my part.
I'll keep tinkering with it.
Thanks for your input. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 01, 2010 2:31 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
anderc1 wrote: |
Yes, the queue does exist and tried another queue as well.
Yes, read the manual.
Normally use just -q but the manual has both -q and queue. Same results either way. Worked with MQ on older versions of AIX for years and don't recall any issues with this command. So I am curious why it isn't working on AIX 5.3 or is it a simple syntax issue on my part.
I'll keep tinkering with it.
Thanks for your input. |
It might be a syntax issue on your part. Make sure you follow the exact order of the parameters as described in the manual.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jul 01, 2010 6:16 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Copy and paste from the terminal screen exactly what you are typing for input and the output you get.
This will sound far fetched, but your not copy and pasting this command from a heavily formatted Word doc are you? If so, try typing in the entire command manually instead of pasting it from the doc and see if that helps. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
anderc1 |
Posted: Fri Jul 02, 2010 6:09 am Post subject: Issue Resolved (Short between keyboard and ground) |
|
|
 Acolyte
Joined: 11 Sep 2002 Posts: 55 Location: Research Triangle Park, NC
|
Issue was right queues, wrong Qmgr.
There are multiple Qmgrs on the system, was viewing queues using MQMon, but running setmqaut from command line using a similar Qmgr name. Close only counts with horse shoes and hand grenades. Decided to try setting OAM with MQMon and it worked, then saw the error of my ways.
Thanks for the help! |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Jul 02, 2010 8:50 am Post subject: Re: Issue Resolved (Short between keyboard and ground) |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
anderc1 wrote: |
Issue was right queues, wrong Qmgr. |
Good... finally you got the hole in the barrel. have fun !! _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|