Author |
Message
|
visionR32 |
Posted: Thu Feb 26, 2009 12:58 am Post subject: MQ v6 channel initiator & listener status (windows cmd l |
|
|
Novice
Joined: 29 Jan 2009 Posts: 11
|
Hi Guys,
i'm using Websphere MQ v 6.0.2.5
Is there a command to display [Channel initiator & listener] status'es from the windows comman line NOT the runmqsc.
Someting equivalent to: amqmdain status <qmgr_name> in version 5.3
regards |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Feb 26, 2009 3:36 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
having these services now as an MQ Object is a lot better now.
Why are you looking for commands 'outside' of MQ ? for scripting purposes?
single runmqsc commands can be executed from the commandline too ... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
visionR32 |
Posted: Thu Feb 26, 2009 3:59 am Post subject: |
|
|
Novice
Joined: 29 Jan 2009 Posts: 11
|
Thank you Michael for response.
Yes i want to update a script i have from V5.3 - it used to search for "Running" string from the amqmdain status <qmgr_name> results.
Quote: |
single runmqsc commands can be executed from the commandline too ... |
- do you mean by redirecting file input - or just straight from the CMD like amadain? |
|
Back to top |
|
 |
MQEnthu |
Posted: Thu Feb 26, 2009 4:05 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
visionR32 wrote: |
Is there a command to display [Channel initiator & listener] status'es from the windows comman line NOT the runmqsc.
Someting equivalent to: amqmdain status <qmgr_name> in version 5.3 |
Listener is migrated to MQ object in V6.0. Thus amqmdain can not be used to administer the listner. You will have to use mqsc or may be PCF commands _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Feb 26, 2009 5:09 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
visionR32 wrote: |
Thank you Michael for response.
Quote: |
single runmqsc commands can be executed from the commandline too ... |
- do you mean by redirecting file input - or just straight from the CMD like amadain? |
yup like amqmdain try in your script: echo DIS QMSTATUS ALL | runmqsc QueueManagerName _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
visionR32 |
Posted: Thu Feb 26, 2009 5:32 am Post subject: |
|
|
Novice
Joined: 29 Jan 2009 Posts: 11
|
Thank you! - this really helped!
regards |
|
Back to top |
|
 |
|