Reputation: 11
I have been trying to find all the queue managers inside IBM MQ Server by giving server details without queue manager name.
The idea is :
As we have ways to find all the queues inside a queue manager can we do similarly to find all queue managers?
Upvotes: 0
Views: 1058
Reputation: 1017
No.
PCF operations like getting the list of queues require you to connect to a queue manager first. To get the list of queue managers on a machine requires OS-level commands instead. A couple of ways that can be done
dspmq
(if you can work out where it might be - cannot assume it's always in /opt/mqm/bin and might require setmqenv to give it a workable environment) and then parse the output/var/mqm/mqs.ini
(more challenging on Windows or even worse on z/OS).And if you're trying to do it remotely, then you have to wrap it up in something like ssh.
Upvotes: 3