Author |
Message
|
mqwbi |
Posted: Mon Dec 15, 2008 7:38 am Post subject: Create MQ Listener |
|
|
Novice
Joined: 15 Dec 2008 Posts: 24
|
Hi
I need help with these in AIX
1) I have to create a MQ LISTENER for my Queue Manager mytestqm on PORT 1423. Also, this Listener object should automatically starts the service along with the queue manager
2) I need to display the existing LISTENER of an existing queue manager and should be able to change it.
Can you please help? It is very Urgent.
Thank You
P |
|
Back to top |
|
 |
Vitor |
Posted: Mon Dec 15, 2008 7:46 am Post subject: Re: Create MQ Listener |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqwbi wrote: |
1) I have to create a MQ LISTENER for my Queue Manager mytestqm on PORT 1423. Also, this Listener object should automatically starts the service along with the queue manager |
Use the DEFINE LISTENER command (unless you're not on v6)
mqwbi wrote: |
2) I need to display the existing LISTENER of an existing queue manager |
DISPLAY LISTENER
mqwbi wrote: |
and should be able to change it. |
ALTER LISTENER
mqwbi wrote: |
It is very Urgent. |
The fastest source of command help is the documentation (link at the top of this page)
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
manicminer |
Posted: Mon Dec 15, 2008 7:47 am Post subject: |
|
|
 Disciple
Joined: 11 Jul 2007 Posts: 177
|
Have you tired looking in the Product Manuals?
There is a link to them on on this site.
I'm pretty sure they will tell you what to do. |
|
Back to top |
|
 |
markt |
Posted: Mon Dec 15, 2008 7:47 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
Have you tried reading the MQSC commands reference? |
|
Back to top |
|
 |
mqwbi |
Posted: Mon Dec 22, 2008 4:56 am Post subject: How do i create a Channel |
|
|
Novice
Joined: 15 Dec 2008 Posts: 24
|
Hi
Many Thanks everyone
@Vitor
These works fine. One statement of yours opened my eyes. I was working with V5.3 , I didn't know it was V5.3 and that is where i took all the hassles.
If i want to create a channel for a Queue Manager in AIX, will this work?
DEFINE CHANNEL(TO.QMGT1) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME(9.181.23.44(1415)) CLUSTER(IDEAEAIMBMQ) DESCR('TCP Cluster-Sender channel to Full Repository queue manager ') |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Dec 22, 2008 5:08 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
most likely conname needs to be in single quotes because of the port - brackets.
just for the syntax, which could also be verified by looking into the proper manual. _________________ Regards, Butcher |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Mon Dec 22, 2008 9:32 am Post subject: Re: How do i create a Channel |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
mqwbi wrote: |
If i want to create a channel for a Queue Manager in AIX, will this work?
DEFINE CHANNEL(TO.QMGT1) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME(9.181.23.44(1415)) CLUSTER(IDEAEAIMBMQ) DESCR('TCP Cluster-Sender channel to Full Repository queue manager ') |
What happens when you try it? |
|
Back to top |
|
 |
|