IBM MQ - Show listener status using the display lsstatus command

by
Jeremy Canfield |
Updated: August 04 2022
| IBM MQ articles
If you are not sure what an MQ Server Connection Channel is, check out our Getting Started tutorial. These examples are based on Linux.
In this example, MANAGER01 is the name of the queue manager. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.
Display the listener status. This assumes you've already created LISTENER01, in this example.
echo "display lsstatus (LISTENER01) all" | runmqsc MANAGER01
Following is an example of what will be displayed.
LISTENER(LISTENER01) STATUS(RUNNING)
PID(92928) STARTDA(2020-06-09)
STARTTI(04.00.53) DESCR( )
TRPTYPE(TCP) CONTROL(QMGR)
IPADDR(*) PORT(5201)
BACKLOG(100)
Use the display chlauth command to determine if the channel type is ADDRESSMAP. If the channel is using ADDRESSMAP, only clients that match ADDRESS will be allowed to connect to the channel.
CHLAUTH(CHANNEL01) TYPE(ADDRESSMAP)
DESCR(Allow access and use ID from channel)
CUSTOM( ) ADDRESS(client01.example.com)
USERSRC(CHANNEL) CHCKCLNT(ASQMGR)
ALTDATE(2019-08-20) ALTTIME(07.09.01)
Did you find this article helpful?
If so, consider buying me a coffee over at