24 TN3270 Server Commands
idle-time
idle-time
Use theidle-time TN3270 configuration command to specify how many seconds of LU inactivity,
from both host and client, before the TN3270 session is disconnected. Use the no form of this
command to cancel the idle time period and return to the default.
idle-timeseconds
no idle-time
Syntax Description
Defaults
The default in TN3270 configuration mode is that the session is never disconnected (0).
The default in PU configuration mode is the value currently configured in TN3270 configuration
mode.
Command Modes
TN3270 configuration
PU configuration
Usage Guidelines
Theidle-time command can be entered in either TN3270 configuration mode or PU configuration
mode. A value entered in TN3270 mode applies to all PUs for that TN3270 server, except as
overridden by values entered in PU configuration mode.
Anoidle-time command entered in PU configuration mode will restore the idle-time value entered
in TN3270 command mode.
Theidle-time command affects currently active and future TN3270 sessions. For example, if the
idle-timevalue is reduced from 900 seconds to 600 seconds, sessions that have been idle for between
600 and 900 seconds are immediately disconnected.
Note Forthe purposes of idle-time logic, TIMING-MARKs generated by the keepalive logic do not
constitute “activity.”
Examples
The following command sets an idle-time disconnect value of 10 minutes:
idle-time 600
The following command entered in TN3270 configuration mode sets the default idle-time
disconnect value to 0, or never disconnect:
no idle-time
seconds Number of seconds, from 0 to 65535. A value of 0 means
the session is never disconnected.