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:

Note: Both the length and the value of this attribute are environment specific. See the introduction to the MQCD structure in MQCD - Channel definition for details of the value of this attribute in various environments.

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.