+

Search Tips | Advanced Search

MsgExit (MQCHARn)

This field specifies the channel message exit name.

If this name is nonblank, the exit is called at the following times:

  • Immediately after a message has been retrieved from the transmission queue (sender or server), or immediately before a message is put to a destination queue (receiver or requester).

    The exit is given the entire application message and transmission queue header for modification.

  • At initialization and termination of the channel.

This field is not relevant for channels with a ChannelType of MQCHT_SVRCONN or MQCHT_CLNTCONN; a message exit is never invoked for such channels.

See MQCD - Channel definition for a description of the content of this field in various environments.

The length of this field is given by MQ_EXIT_NAME_LENGTH.

Note: The value of this constant is environment-specific. Parent topic: Fields

Last updated: 2020-10-04