Author |
Message
|
wbimb |
Posted: Thu Mar 01, 2007 11:11 pm Post subject: How do i get the Qmgr listener port |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
I want to write a bat script on Windows 2000 for MQ5.3, which we executed will give me a Qmgr Name and the listener names and their port....
Can someone help me with the commands tht will give me the same |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Mar 01, 2007 11:45 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
wbimb |
Posted: Fri Mar 02, 2007 1:41 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
the site talk about dspmqlsr which is the code you have written...
can u please give me a hint about how to go about it |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Mar 02, 2007 1:53 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
wbimb |
Posted: Fri Mar 02, 2007 2:05 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Mar 09, 2007 2:28 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
wbimb |
Posted: Sun Mar 11, 2007 11:11 pm Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
i got it but it is not working for me...when i run the application...it crashes with memory error |
|
Back to top |
|
 |
Michael Dag |
Posted: Sun Mar 11, 2007 11:53 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
although the program is supplied 'as is'...
that's not much information I can work with...
did you put it in the MQ bin directory where dspmq resides?
do you have full administrator access to work station (perhaps you got an access violation?) _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
wbimb |
Posted: Wed Mar 14, 2007 4:18 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
Yes tried putting it in the bin directory and i have full admin right cause i use other mQ commands.
can you please help me with this...can u give me some hint in the code so i can write mine
thanks in advance |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Mar 14, 2007 4:33 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
without specific errors or messages I can not help you.
all information is stored in the windows registries and you would need something that can query the registry keys.
I combined the output of the dspmq and amqmdain program and the registry information.
It's been a long time since I wrote the program, so I need to look up the code if there is anything other special in there... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
|