Keepalive Interval (KAINT)
This attribute is used to specify a timeout value for a channel.
The Keepalive Interval attribute is a value passed to the communications stack specifying the Keepalive timing for the channel. It allows you to specify a different keepalive value for each channel.
You can set the Keepalive Interval (KAINT) attribute for channels on a per-channel basis.
On Multiplatforms, you can access and modify the parameter, but it is only stored and forwarded; there is no functional implementation of the parameter. If you need the functionality provided by the KAINT parameter, use the Heartbeat Interval (HBINT) parameter, as described in Heartbeat interval (HBINT).
For this attribute to have any effect, TCP/IP keepalive must be enabled. On z/OS®, you do enable keepalive by issuing the ALTER QMGR TCPKEEP(YES) MQSC command. On Multiplatforms, it occurs when the KEEPALIVE=YES parameter is specified in the TCP stanza in the distributed queuing configuration file, qm.ini, or through the IBM® MQ Explorer. Keepalive must also be enabled within TCP/IP itself, using the TCP profile configuration data set.
Negotiated HBINT | KAINT |
---|---|
>0 | Negotiated HBINT + 60 seconds |
0 | 0 |
This attribute is valid for all channel types.
The value is ignored for all channels that have a TransportType (TRPTYPE) other than TCP or SPX