Bootstrap FreeKB - IBM MQ - Create listener using the define listener command
IBM MQ - Create listener using the define listener command

Updated:   |  IBM MQ articles

This assumes you've already created a channel, which you can verify by displaying the channel.

Define a listener for the channel.

echo "define listener(LISTENER01) trptype(TCP) control(QMGR) port(1414)" | runmqsc MANAGER01

 

Start the listener.

echo "start listener(LISTENER01)" | runmqsc MANAGER01

 

You almost always also want to assign one or more users that have access to the channel so that you don't get error 2035 MQRC_NOT_AUTHORIZED when attempting to connect to MQ.




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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