Set up the server and client using the command line on Windows

We can use the command line to create the objects that you need to use to verify a client installation on Linux . On the server you create a queue manager, a local queue, a listener, and a server-connection channel. You must also apply security rules to allow the client to connect and make use of the queue defined. On the client you create a client-connection channel. After setting up the server and client, we can then use the sample programs to complete the verification procedure.


Before you begin

Before starting this task, review the information in Verifying a client installation on Windows.


This task explains how to use the command line to set up the server and client so that we can verify your client installation.

If you prefer to use IBM MQ Explorer, see Set up the server and client using IBM MQ Explorer on Windows.


Procedure

  1. Set up the server by following the instructions in Set up the server using the command line on Windows.
  2. Set up the client by following instructions in Connecting to a queue manager, using the MQSERVER environment variable on Windows.


What to do next

Test the communications between client and server by following the instructions in Testing communication between a client and a server on Windows.