runmqchl (run channel)

Start a sender or requester channel


Purpose

Use the runmqchl command to run either a sender (SDR) or a requester (RQSTR) channel.

The channel runs synchronously. To stop the channel, issue the MQSC command STOP CHANNEL.


Syntax

runmqchl   -c ChannelName   -m QMgrName


Required parameters

    -c ChannelName
    The name of the channel to run.


Optional parameters

    -m QMgrName
    The name of the queue manager with which this channel is associated. If you 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 return codes 10 or 20 are generated, review the error log of the associated queue manager for the error messages, and the system error log for records of problems that occur before the channel is associated with the queue manager.