Use the listSIBWMQServers command to list the WebSphere® MQ servers known to a cell.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.
print AdminTask.help('SIBAdminCommands')
print AdminTask.help('command_name')
A WebSphere MQ server represents a WebSphere MQ queue manager or (for WebSphere MQ for z/OS®) queue-sharing group. This command lists the WebSphere MQ servers known to the cell.
The current cell.
wsadmin>AdminTask.listSIBWMQServers()
wsadmin>$AdminTask listSIBWMQServers