ChannelAutoDefExit (20-byte character string) on IBM i

Name of user exit for automatic channel definition.

If this name is nonblank, and ChannelAutoDef has the value CHADEN, the exit is called each time that the queue manager is about to create a channel definition. This applies to channels of type CTRCVR, CTSVCN, and CTCLSD. The exit can then do one of the following:

  • Allow the creation of the channel definition to proceed without change.
  • Modify the attributes of the channel definition that is created.
  • Suppress creation of the channel entirely.

To determine the value of this attribute, use the CACADX selector with the MQINQ call. The length of this attribute is given by LNEXN.

Parent topic: Attributes for the queue manager on IBM i