Use the SCANINTERVAL parameter statement to define the interval at which Telnet checks connections for inbound TCP/IP activity. It is used in conjunction with the TIMEMARK parameter statement, which defines the elapsed time Telnet uses to determine whether a connection to the client is considered broken. During SCANINTERVAL processing, if the elapsed time since the last inbound activity is greater than the TIMEMARK value, the connection is considered possibly broken and a TIMEMARK request is sent to the client. At the next interval, if neither a TIMEMARK request nor data is received, the connection is considered broken. Telnet drops the connection.
SCANINTERVAL and TIMEMARK can be coded in TELNETGLOBALS, TELNETPARMS, or PARMSGROUP. See Rules for Telnet parameter statements and security parameters for more information about the hierarchy of parameter values.
If for any reason the TIMEMARK cannot be sent immediately on five consecutive tries and no data or TIMEMARK response is received, the connection is dropped. When TIMEMARK cannot be sent immediately, Telnet tries again at the next SCANINTERVAL time. If the SCANINTERVAL is greater than the TIMEMARK value, it is reset to the TIMEMARK value.
>>-+---------------------+--+-----------------+---------------->< +-SCANINTERVAL 1800---+ +-TIMEMARK 10,800-+ '-SCANINTERVAL --sec1-' '-TIMEMARK --sec2-'