On the server

If your server platform is not z/OS, you first create and start a queue manager and then start MQSC commands.

Creating a queue manager and starting MQSC on the server

  1. Create a queue manager, called QM1 for example:
    crtmqm QM1
  2. Start the queue manager:
    strmqm QM1
  3. Start MQSC commands.
    runmqsc QM1

Defining the server-connection channel

Define a channel with your chosen name and a channel type of server-connection. This channel definition is associated with the queue manager running on the server.

For example:

DEFINE CHANNEL(CHAN1) CHLTYPE(SVRCONN) TRPTYPE(TCP) +
DESCR('Server-connection to Client_1')