Home

 

Defining the client-connection channel

Define a channel with the same name and a channel type of client-connection.

You must state the connection name (CONNAME). For TCP/IP this is the network address or host name of the server machine. It is also advisable to specify the queue manager name (QMNAME) to which you want your WebSphere MQ application, running in the client environment, to connect. See Running applications on WebSphere MQ clients.

For example:

DEFINE CHANNEL(CHAN2) CHLTYPE(CLNTCONN) TRPTYPE(TCP) +
CONNAME(9.20.4.26) QMNAME(QM2) DESCR('Client-connection to Server_2')

On platforms other than z/OS, this channel definition is generally stored in a file called the client channel definition table, which is associated with the queue manager running on the server. The client channel definition table can contain more than one client-connection channel definition. For more information about the client channel definition table, and for the corresponding information about how client-connection channel definitions are stored on z/OS, see Client channel definition table.