Setting up the client on Windows and Linux
Before you begin
About this task
In this part of the tutorial, you must set up the client component on the server using the MQSERVER environment variable. You must find out the network name of the machine which hosts queue manager QM_ORANGE from your system administrator.
To set up the client on Windows or Linux®, complete the steps for the platform that you are using:
![[Windows]](./ngwin.gif)
Setting up the client on Windows
About this task
Procedure
- Open the Control Panel: Click
- Double-click System.
- Click the Advanced tab.
- Click Environment Variables.
- In the User Variables pane, click New.
- Type MQSERVER into the Variable Name field.
- Type CLIENT.QM_ORANGE/TCP/hostname into the Variable Value field, where hostname is the computer name or IP address that identifies the machine hosting queue manager QM_ORANGE. If you do not use the default port number 1414, you must also specify the port number where the listener is listening. For example: MQSERVER=CLIENT.QM_ORANGE/TCP/hostname (1415)
-
Click OK.
The MQSERVER environment variable is visible in the User Variables pane.
Results
![[Linux]](./nglinux.gif)