Home

 

How you reserve space and use it

 

When the send exit program is called for initialization, set the ExitSpace field of MQXCP to the number of bytes to be reserved. See MQCXP – Channel exit parameter for details. ExitSpace can be set only during initialization, that is when ExitReason has the value MQXR_INIT. When the send exit is invoked immediately before transmission, with ExitReason set to MQXR_XMIT, ExitSpace bytes are reserved in the transmission buffer. ExitSpace is not supported on z/OS.

The send exit need not use all of the reserved space. It can use less than ExitSpace bytes or, if the transmission buffer is not full, the exit can use more than the amount reserved. When setting the value of ExitSpace, leave at least 1 KB for message data in the transmission buffer. Note that channel performance can be affected if reserved space is used for large amounts of data.

 

Parent topic:

Channel send exit programs — reserving space


ic17530_


 

Home