Home
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 TpName2For the best performance, run the WebSphere MQ listener as a trusted application as described in Running channels and listeners as trusted applications. See the WebSphere MQ Application Programming Guide for information about trusted applications.
We can stop all WebSphere MQ listeners running on a queue manager that is inactive, using the command:
ENDMQLSR [-m QMNAME]If you do not specify a queue manager name, the default queue manager is assumed.
Parent topic:
Receiving on LU 6.2
ic12820_
Home