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, you can use TpStart under SNA Server for Windows.
Using the RUNMQLSR command
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 -m parameter used in the last part of
this command is optional and is not required for the default queue manager.
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.
ENDMQLSR -m QMNAME
Using Microsoft SNA Server on Windows
-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 you do not specify a queue manager name, the default queue manager is assumed.