Set up the server using IBM MQ Explorer
About this task
On the server machine that hosts queue manager QM_ORANGE:Procedure
- In the Navigator view, expand the Queue Managers folder.
- Expand QM_ORANGE.
- Right-click the Channels folder, then click New > Server-connection Channel. The New Server-connection Channel wizard opens.
- In the Name field, type CLIENT.QM_ORANGE then click Next.
- Click MCA to open the MCA page.
- In the MCA User ID field, type your Windows login name (or a user name in the mqm group).
- Click Finish.
Results
The new server-connection channel is displayed in the Content view.What to do next
For more information about the MCAUSER ID, see Access control for clients.
Set up the server using MQSC
About this task
Open a command prompt on the receiving machine and follow these steps:Procedure
- Start MQSC by typing the command:
runmqsc QM_ORANGE
A message tells you that an MQSC session has started. MQSC has no command prompt. - Define a server-connection channel by typing the following
command on one line:
define channel(CLIENT.QM_ORANGE) chltype(SVRCONN) trptype(TCP) mcauser('mqm')
If we are using Windows, type your Windows login name (or a valid mqm user name) in place of mqm.
A message tells you when the channel has been created.
- Stop MQSC by typing:
end
Some messages are displayed followed by the command prompt. - Start a listener by typing the following command:
runmqlsr -t tcp
Results
We have now finished setting up the server. The next task is to set up the client.