KEEPINACTIVE statement

Use the KEEPINACTIVE parameter statement to define the session setup inactivity timeout. A KEEPOPEN connection with no active SNA session that has no client-VTAM® activity for the specified time is dropped.

Telnet is initialized with a KEEPINACTIVE value of 0.

The KEEPINACTIVE statement can be coded in the TELNETGLOBALS, TELNETPARMS, or PARMSGROUP statement blocks. See Rules for Telnet parameter statements and security parameters for more information about the hierarchy of parameter values.

Restriction: The KEEPINACTIVE statement applies to a KEEPOPEN connection only when the connection does not have an active SNA session.

Telnet uses one timer for the INACTIVE, PRTINACTIVE, and KEEPINACTIVE statements. See z/OS Communications Server: IP Configuration Guide for details.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-------------------+---------------------------------------><
   +-KEEPINACTIVE 0----+   
   '-KEEPINACTIVE -sec-'   

Parameters

0
A KEEPINACTIVE timeout of 0 disables the inactivity timeout.
sec
Sets the inactivity timeout to the specified number of seconds. When a KEEPOPEN connection has had no session for the specified number of seconds, it is closed. This number must be an integer in the range 0 - 99 999 999.