A NetBIOS connection is initiated from a queue manager that uses the
ConnectionName parameter on its channel definition to connect to a target
listener. To set up a NetBIOS connection, follow these steps:
- At each end of the channel specify the local NetBIOS name to be used by
the WebSphere MQ channel processes, in the queue manager configuration file
qm.ini or in the registry for Windows systems. For example, the
NETBIOS stanza in qm.ini at the sending end might look like this:
NETBIOS:
LocalName=O2NETB1
and at the receiving end:
NETBIOS:
LocalName=O2NETB2
- At each end of the channel, look at the LANTRAN.LOG file in the
\IBMCOM directory to see what LAN adapter number is used by NetBIOS on your
system. If it is not 0, which WebSphere MQ uses by default, specify the
correct value in the NETBIOS stanza of the qm.ini file or of the
registry for Windows systems. For example:
NETBIOS:
AdapterNum=1
- At the sending end, define a channel specifying the NetBIOS name being
used at the other end of the channel. For example:
DEFINE CHANNEL (OS2.WINNT.NET) CHLTYPE(SDR) +
TRPTYPE(NETBIOS) +
CONNAME(O2NETB2) +
XMITQ(WINNT) +
REPLACE
- At the receiving end, define the corresponding receiver channel.
For example:
DEFINE CHANNEL (OS2.WINNT.NET) CHLTYPE(RCVR) +
TRPTYPE(NETBIOS) +
REPLACE
- At the receiving end, start the WebSphere MQ listener:
runmqlsr -t netbios
Optionally you may specify values for the queue manager name, NetBIOS local
name, number of sessions, number of names, and number of commands. See Defining a NetBIOS connection for more information about setting up NetBIOS
connections.