Receiving on LU 6.2 on Windows

Receiving channel programs are started in response to a startup request from the sending channel.

To start a receiving channel program, a listener program has to be started to detect incoming network requests and start the associated channel. You start this listener program with the RUNMQLSR command, giving the TpName to listen on. Alternatively, we can use TpStart under SNA Server for Windows.


Use the RUNMQLSR command

Example of the command to start the listener:
RUNMQLSR -t LU62 -n RECV [-m QMNAME]

where RECV is the TpName that is specified at the other (sending) end as the "TpName to start on the remote side". The last part in square brackets is optional and is not required for the default queue manager.

It is possible to have more than one queue manager running on one machine. You must assign a different TpName to each queue manager, and then start a listener program for each one. For example:
RUNMQLSR -t LU62 -m QM1 -n TpName1
RUNMQLSR -t LU62 -m QM2 -n TpName2

For the best performance, run the IBM MQ listener as a trusted application as described in Running channels and listeners as trusted applications. See Restrictions for trusted applications for information about trusted applications.

We can stop all IBM MQ listeners running on a queue manager that is inactive, using the command:
ENDMQLSR [-m QMNAME]


Use Microsoft SNA Server on Windows

We can use TpSetup (from the SNA Server SDK) to define an invokable TP that then drives amqcrs6a.exe, or we can set various registry values manually. The parameters that should be passed to amqcrs6a.exe are:
-m QM -n TpName
where QM is the Queue Manager name and TpName is the TP Name. See the Microsoft SNA Server APPC Programmers Guide or the Microsoft SNA Server CPI-C Programmers Guide for more information.

If we do not specify a queue manager name, the default queue manager is assumed.