Author |
Message
|
kenward |
Posted: Wed Jul 13, 2011 7:56 am Post subject: AMQ7226: The profile name is invalid with RFHUTILC |
|
|
Apprentice
Joined: 01 Jun 2010 Posts: 41 Location: Detroit, MI
|
I'm trying to use rfhutilc to connect to a remote queue manager and I'm following the instructions in the docs but when I try this command, it's failing (see below). Anyone know why I'd get this error besides the obvious reading of the vaguely documented error code? Haven't found much searching the forums either.
I'm running the command in a linux environment and I've tried double and single quotes. I've also tried 'RFHUTIL.REPLY**' as well with the same result.
$ setmqaut -m QMGR -n "RFHUTIL.REPLY.QUEUE**" -t q -g mibbrws +all
AMQ7226: The profile name is invalid. |
|
Back to top |
|
|
RogerLacroix |
Posted: Wed Jul 13, 2011 9:25 am Post subject: Re: AMQ7226: The profile name is invalid with RFHUTILC |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
kenward wrote: |
I've tried double and single quotes. I've also tried 'RFHUTIL.REPLY**' as well with the same result. |
Remove the quotes.
i.e.
Code: |
setmqaut -m QMGR -n RFHUTIL.REPLY.QUEUE** -t q -g mibbrws +all |
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
|
fjb_saper |
Posted: Wed Jul 13, 2011 10:02 am Post subject: Re: AMQ7226: The profile name is invalid with RFHUTILC |
|
|
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20729 Location: LI,NY
|
kenward wrote: |
I'm trying to use rfhutilc to connect to a remote queue manager and I'm following the instructions in the docs but when I try this command, it's failing (see below). Anyone know why I'd get this error besides the obvious reading of the vaguely documented error code? Haven't found much searching the forums either.
I'm running the command in a linux environment and I've tried double and single quotes. I've also tried 'RFHUTIL.REPLY**' as well with the same result.
$ setmqaut -m QMGR -n "RFHUTIL.REPLY.QUEUE**" -t q -g mibbrws +all
AMQ7226: The profile name is invalid. |
You are running in Linux/Unix and don't want the '*' to be interpreted as an OS wildcard:
Code: |
$ setmqaut -m QMGR -n RFHUTIL.REPLY.QUEUE\*\* -t q -g mibbrws +all |
Have fun _________________ MQ & Broker admin |
|
Back to top |
|
|
kenward |
Posted: Wed Jul 13, 2011 10:20 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2010 Posts: 41 Location: Detroit, MI
|
Neither escaping the asterisks with a \ nor eliminating the quotations made a difference. |
|
Back to top |
|
|
zpat |
Posted: Wed Jul 13, 2011 10:31 am Post subject: |
|
|
Jedi Council
Joined: 19 May 2001 Posts: 5856 Location: UK
|
setmqaut -m QMGR -n 'RFHUTIL.REPLY.QUEUE.**' -t q -g mibbrws +allmqi
or
setmqaut -m QMGR -n 'RFHUTIL.REPLY.QUEUE*' -t q -g mibbrws +allmqi |
|
Back to top |
|
|
fjb_saper |
Posted: Wed Jul 13, 2011 8:05 pm Post subject: |
|
|
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20729 Location: LI,NY
|
Check the infocenter and make sure the order of the parameters is right.
It does matter.
I use no quotes and escape chars.
Also run the command as user mqm.
setmqaut -m -t -n -g is not treated the same as setmqaut -m -n -t -g _________________ MQ & Broker admin |
|
Back to top |
|
|
|