The channel definition at the sending end specifies the address of the target. The TCP service is configured for the connection at the receiving end.
Specify the host name, or the TCP address of the target machine, in the Connection Name field of the channel definition. Port number 1414 is assigned by the Internet Assigned Numbers Authority to WebSphere MQ.
To use a port number other than the default, change the connection name field thus:
Connection Name REMHOST(1822)
where REMHOST is the hostname of the remote machine and 1822 is the port number required. (This must be the port that the listener at the receiving end is listening on.)
Alternatively you can change the default sending port number by specifying it in the queue manager configuration file (qm.ini):
TCP: Port=1822
For more information about the values you set using qm.ini, see Appendix C, Configuration file stanzas for distributed queuing.
To use Compaq (DIGITAL) TCP/IP Services (UCX) for OpenVMS, you must configure a UCX service as follows:
$ mcr amqcrsta [-m Queue_Man_Name]
Place this file in the SYS$MANAGER directory. In this example the name of the file is MQRECV.COM.
Notes:
$ UCX UCX> set service <p1>/port=<p2>/protocol=TCP/user_name=MQM - UCX> /process=<p3>/file=<p4>/limit=<p5>
where:
If a receiving channel does not start when the sending end starts, it is probably due to the permissions on the file being incorrect.
If you want to use the SO_KEEPALIVE option (as discussed in Checking that the other end of the channel is still available) you must the add the following entry to your queue manager configuration file (qm.ini) or the Windows NT registry:
TCP: KeepAlive=yes
To use Cisco MultiNet for OpenVMS, you must configure a MultiNet service as follows:
$ mcr amqcrsta.exe [-m Queue_Man_Name]
Place this file in the SYS$MANAGER directory.
Notes:
$ multinet configure/server MultiNet Server Configuration Utility 3.5 (101) [Reading in configuration from MULTINET:SERVICES.MASTER_SERVER] SERVER-CONFIG> add WebSphere MQ [Adding new configuration entry for service "MQSERIES"] Protocol: [TCP] TCP Port number: 1414 Program to run: sys$manager:mqrecv.com [Added service MQSERIES to configuration] [Selected service is now MQSERIES] SERVER-CONFIG> set flags UCX_SERVER MQSERIES flags set to <UCX_SERVER>] SERVER-CONFIG> set username MQM [Username for service MQSERIES set to MQM] SERVER-CONFIG> exit [Writing configuration to MULTINET_COMMON_ROOT:SERVICES.MASTER_SERVER] $
The service is enabled automatically after the next system IPL
(reboot). To enable the service immediately, issue the command
'MULTINET
CONFIGURE /SERVER RESTART'.
To use Attachmate PathWay for OpenVMS to start channels, you must configure a PathWay service as follows:
$ mcr amqcrsta [-m Queue_Manager_Name]
Place this file in the SYS$MANAGER directory. In this example the name mqrecv.com is used.
You do this by adding the following lines to the file TWG$COMMON:[NETDIST.ETC]SERVERS.DAT.
# MQSeries service-name MQSeries program SYS$MANAGER:MQRECV.COM socket-type SOCK_STREAM socket-options SO_ACCEPTCONN | SO_KEEPALIVE socket-address AF_INET , 1414 working-set 512 priority 4 INIT TCP_Init LISTEN TCP_Listen CONNECTED TCP_Connected SERVICE Run_Program username MQM device-type UCX
To use Process Software Corporation TCPware, you must configure a TCPware service as follows:
$ mcr amqcrsta (-m Queue_Manager_Name)
Place this file in the SYS$MANAGER directory. In this example the name of the file is MQRECV.COM.
Notes:
MQSeries 1414/tcp # MQSeries port
$! SERVERS.COM $! $ RUN TCPWARE:NETCU ADD SERVICE MQSeries BG_TCP - /INPUT=SYS$MANAGER:MQRECV.COM - /LIMIT=6 - /OPTION=KEEPALIVE - /USERNAME=MQM EXIT
@TCPWARE:SERVERS.COM