Verifying a client installation using the command line on IBM i
You can verify a client installation using the command line. 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, and then use the sample PUT and GET programs to complete the verification procedure.
The verification procedure shows how to create a queue manager called
queue.manager.1
, a local queue called QUEUE1
, and a
server-connection channel called CHANNEL1
on the server.
It shows how to create the client-connection channel on the IBM® MQ MQI client workstation. It then shows how to use the sample programs to put a message onto a queue, and get the message from the queue.
The example does not address any client security issues. See Setting up IBM MQ MQI client security for details if you are concerned with IBM MQ MQI client security issues.
- The full IBM MQ server product has been installed on a server.
- The server installation is accessible on your network.
- The IBM MQ MQI client software has been installed on a client system.
- The IBM MQ sample programs have been installed.
- TCP/IP has been configured on the server and client systems. For more information, see Configuring connections between the server and client.
First, set up the server using the command line, using the instructions in Setting up the server using the command line IBM i.
Once you have set up the server, you must set up the client, using the instructions in Connecting to a queue manager, using the MQSERVER environment variable on IBM i.
Finally, you can test the communications between client and server, using the instructions in Testing communication between a client and a server on IBM i.