FreeKB - IBM MQ display listener status (display lsstatus)
IBM MQ - display listener status (display lsstatus)

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)


Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 9e6a3 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |