IBM MQ - Show allowed connections to a channel using the display chlauth command

by
Jeremy Canfield |
Updated: August 04 2022
| IBM MQ articles
The display chlauth command can be used to display the access to a channel.
echo "display chlauth (CHANNEL01)" | runmqsc MANAGER01
If the following is returned, the set chlauth command has not yet been used. In this scenario, you would use the set chlauth command to give the channel authority.
AMQ8884E: Channel authentication record not found.
One MQSC command read.
No commands have a syntax error.
One valid MQSC command could not be processed.
Take for example the following output. In this example, since ADDRESS is a wildcard, access from all systems connecting to the channel is allowed.
CHLAUTH(CHANNEL01) ADDRESS(*)
DESCR( ) CUSTOM( )
USERSRC(CHANNEL) CHCKCLNT(ASQMGR)
ALTDATE(2018-12-07) ALTTIME(15.12.34)
If the channel is using ADDRESSMAP, only clients that match ADDRESS will be allowed to connect to the channel. ADDRESS can be an IP address or hostname.
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