Listeners are valid for TCP only. For SNA listeners, you must
configure your communications subsystem.
For applications to be able to exchange messages you must start a listener
program for inbound connections using the STRMQMLSR command.
For outbound connections you must start the channel in one of the following
ways:
- Use the CL command STRMQMCHL, specifying the channel name, to start the
channel as a process or a thread, depending on the MCATYPE parameter.
(If channels are started as threads, they are threads of a channel
initiator.)
STRMQMCHL CHLNAME(QM1.TO.QM2) MQNAME(MYQMGR)
- Use a channel initiator to trigger the channel. One channel
initiator is started automatically when the queue manager is started.
This can be eliminated by changing the chinit stanza in the qm.ini file
for that queue manager.
- Use the WRKMQMCHL command to begin the Work with Channels panel and choose
option 14 to start a channel.
© IBM Corporation 2002. All Rights Reserved