In conjunction with the various values of the CMDSCOPE parameter, this parameter controls two types of channel:
A sending channel is shared if its transmission queue has a disposition of SHARED.
A sending channel is private if its transmission queue has a disposition other than SHARED.
The combination of the CHLDISP and CMDSCOPE parameters also controls from which queue manager the channel is operated. The possible options are:
The various combinations of CHLDISP and CMDSCOPE are summarized in Table 15
CHLDISP | CMDSCOPE( ) or CMDSCOPE (local-qmgr) | CMDSCOPE (qmgr-name) | CMDSCOPE(*) |
---|---|---|---|
PRIVATE | Start as a private channel on the local queue manager | Start as a private channel on the named queue manager | Start as a private channel on all active queue managers |
SHARED | For a shared SDR, RQSTR, and SVR channel, start as a shared
channel on the most suitable queue manager in the group.
For
a shared RCVR and SVRCONN channel, start the channel as a shared channel on
all active queue managers.
For a shared CLUSSDR or CLUSRCVR channel, this option is not permitted. This might automatically generate a command using CMDSCOPE and send it to the appropriate queue managers. If there is no definition for the channel on the queue managers to which the command is sent, or if the definition is unsuitable for the command, the action fails there. The definition of a channel on the queue manager where the command is entered might be used to determine the target queue manager where the command is actually run. Therefore, it is important that channel definitions are consistent. Inconsistent channel definitions might result in unexpected command behavior. |
Not permitted | Not permitted |
FIXSHARED | For a shared SDR, RQSTR, and SVR channel, with a nonblank CONNAME, start as a shared channel on the local queue manager. For all other types, this option is not permitted. | For a shared SDR, RQSTR, and SVR with a nonblank CONNAME, start as a shared channel on the named queue manager. For all other types, this option is not permitted. | Not permitted |
Channels started with CHLDISP(FIXSHARED) are tied to the specific queue manager; if the channel initiator on that queue manager stops for any reason, the channels are not recovered by another queue manager in the group. See the WebSphere MQ Intercommunication manual for full details about SHARED and FIXSHARED channels.
If CHLDISP is set to SHARED, CMDSCOPE must be blank or the local queue manager.
You can specify a queue manager name only if you are using a queue-sharing group environment and if the command server is enabled.
This option is not permitted if CHLDISP is FIXSHARED.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzaj10132 |