Set up the WebSphere MQ client

 

When a WebSphere MQ application is run on the WebSphere MQ client, the binding information that it requires to connect to a specific queue manager is defined in a client-connection channel. This information is the name of the MQI channel, the communication type, and the address of the server to be used. You provide this by defining a client-connection channel. The name used must be same as the name used for the server-connection channel defined on the server.

A client-connection channel can be defined in one of the following three ways:

In this example, the MQSERVER environment variable is used to define the client-connection channel. This is the simplest method.

Before starting, confirm that your WebSphere MQ client and server TCP/IP sessions are initialized. To do this, type the following command:

ping server_address

server_address is the TCP/IP hostname, or the network address (in the format n.n.n.n), of the server.

If the ping command fails, check that your TCP/IP software is correctly configured and has been started.

 

Parent topic:

Verifying a WebSphere MQ Client