Running the example for IBM i
When we have created the required objects you must start the channel initiators and listeners for both queue managers.
The applications can then send messages to each other. The channels are triggered to start by the first message arriving on each transmission queue, so we do not need to issue the STRMQMCHL command.
For details about starting a channel initiator and a listener, see Monitor and controlling channels on IBM® i .