Author |
Message
|
bkRaju |
Posted: Tue Feb 24, 2009 7:11 am Post subject: How to create a listener out side of the qmgr |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Hi,
Is it possible to create a listener out side of the qmgr(out side of runmqsc)
if so Please let me know how to create it? |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 24, 2009 7:13 am Post subject: Re: How to create a listener out side of the qmgr |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bkRaju wrote: |
Is it possible to create a listener out side of the qmgr(out side of runmqsc)
|
If you're using v6 or later why would you want to? It's the best and recommended method. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
SAFraser |
Posted: Tue Feb 24, 2009 7:54 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
You can't "create" a listener object outside the queue manager. You can initiate a listener in runtime. Read about the runmqlsr command.
But, as Vitor said, why would you want to? If you don't want the listener to start with the queue manager, you can configure it for manual control.
What business requirement are you trying to satisfy? |
|
Back to top |
|
 |
bkRaju |
Posted: Tue Feb 24, 2009 7:56 am Post subject: |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Thanks for giving update.
Just I wanted to know is it possible...
If it is so please tell me the procedure..
Thanks
Krishnam |
|
Back to top |
|
 |
SAFraser |
Posted: Tue Feb 24, 2009 7:59 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
As mentioned, look at the control command "runmqlsr" in the System Administration guide. (Info Center link is conveniently located at the top of this page!) |
|
Back to top |
|
 |
bkRaju |
Posted: Tue Feb 24, 2009 8:04 am Post subject: |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
If I do so manually,can i see the listener status in the qmgr? |
|
Back to top |
|
 |
SAFraser |
Posted: Tue Feb 24, 2009 8:06 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
No, you will have to query the OS for the status of the listener process you have instantiated in runtime.
And if you stop your qmgr, your listener will keep running.
That's why all us oldtimers love the 6.0/7.0 feature of the listener as a qmgr object. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 24, 2009 8:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
To be pedantic, you can create a listener object without using runmqsc.
You can send a PCF message to create one instead. But doing that doesn't require a procedure, it requires writing code and that seems rather a bit beyond the level of expertise that bkRaju has exhibited in this particular thread. |
|
Back to top |
|
 |
bkRaju |
Posted: Tue Feb 24, 2009 8:17 am Post subject: |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Thanks a lot for the information
I have a query here.
in my environment mqv6 listener process runs like below
runmqlsr -r -m qmgr -t TCP -p 10600 -i krishnam.com
Please let me know wt is the importance of the parameter "i" value in the above listener.
Even we can run listener without parameter "i".
but I wanted to know it's importance
Thanks
Krishnam |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 24, 2009 8:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bkRaju wrote: |
Even we can run listener without parameter "i".
but I wanted to know it's importance
|
Then:
a) why not ask the question directly
b) look here where it describes the parameter.
Much quicker and more time-effiecient for everyone!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bkRaju |
Posted: Tue Feb 24, 2009 8:30 am Post subject: |
|
|
Centurion
Joined: 19 Aug 2008 Posts: 106
|
Thanks Vitor
Actually I had those two queries....
looks I have to get more inputs from mqjeff on first query.
"Creating listener out side of the qmgr"
thanks mqjeff
Thanks
Krishnam |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 24, 2009 8:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bkRaju wrote: |
looks I have to get more inputs from mqjeff on first query.
"Creating listener out side of the qmgr"
|
I have some doubts that mqjeff will provide sample PCF code, or that it's better on any level than script for this particular task.
But you have fun now. At some point do give some details on your requirement here, aside from poking about in the queue manager because you can. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|