Sending end

If the target machine is remote, specify the SPX address of the target machine in the Connection name field of the channel definition.

The SPX address is specified in the following form:

        network.node(socket)

where:

network
Is the 4-byte network address of the network on which the remote machine resides,
node
Is the 6-byte node address, which is the LAN address of the LAN adapter in the remote machine
socket
Is the 2-byte socket number on which the remote machine will listen.

If the local and remote machines are on the same network then the network address need not be specified. If the remote end is listening on the default socket (5E86) then the socket need not be specified.

An example of a fully specified SPX address specified in the CONNAME parameter of an MQSC command is:

      CONNAME('00000001.08005A7161E5(5E87)')

In the default case, where the machines are both on the same network, this becomes:

      CONNAME(08005A7161E5)

The default socket number may be changed by specifying it in the queue manager configuration file (qm.ini) or the Windows(R) registry:

SPX:
  Socket=5E87

For more information about the values you set using qm.ini or the Windows registry, see Appendix B. Configuration file stanzas for distributed queuing.