If you are not sure what an MQ Server Connection Channel is, check out our Getting Started tutorial. These examples are based on Linux. Switch to the mqm user.
su - mqm
Start the MQSC utility for the queue manager that you want to set up the server connection channel on. 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.
Before creating a channel, use the display channel command to ensure the channel does not already exist.
The define channel command is used to create a channel. In this example, a server connection channel (SVRCONN) named CHANNEL01 is created. The channel name and channel type are the bare minimum keys that need to be defined.
echo "define channel ('CHANNEL01') chltype (SVRCONN)" | runmqsc MANAGER01
The following should be displayed.
AMQ8014I: IBM MQ channel created.