runmqchi (run channel initiator)

Run a channel initiator process to automate starting channels.


Purpose

Use the runmqchi command to run a channel initiator process.

We must use the runmqchi command from the installation associated with the queue manager that we are working with. We can find out which installation a queue manager is associated with using the dspmq -o installation command.

The channel initiator is started by default as part of the queue manager.


Syntax

runmqchi  -q InitiationQName -m QMgrName


Optional parameters

    -q InitiationQName
    The name of the initiation queue to be processed by this channel initiator. If we omit it, SYSTEM.CHANNEL.INITQ is used.

    -m QMgrName
    The name of the queue manager on which the initiation queue exists. If we omit the name, the default queue manager is used.


Return codes

Return code Description
0 Command completed normally
10 Command completed with unexpected results
20 An error occurred during processing

If errors occur that result in return codes of either 10 or 20, review the queue manager error log that the channel is associated with for the error messages, and the system error log for records of problems that occur before the channel is associated with the queue manager. For more information about error logs, see Error log directories.