ChannelAutoDefExit (MQCHARn)
This is the name of the user exit for automatic channel definition. If this name is nonblank, and ChannelAutoDef has the value MQCHAD_ENABLED, the exit is called each time that the queue manager is about to create a channel definition. This applies to channels of type MQCHT_RECEIVER, MQCHT_SVRCONN, and MQCHT_CLUSSDR. The exit can then do one of the following:
- Create the channel definition without change.
- Modify the attributes of the channel definition that is created.
- Suppress creation of the channel entirely.
On z/OSĀ®, this attribute applies only to cluster-sender and cluster-receiver channels.
To determine the value of this attribute, use the MQCA_CHANNEL_AUTO_DEF_EXIT selector with the MQINQ call. The length of this attribute is given by MQ_EXIT_NAME_LENGTH.