Use
the INACTIVE statement to set the inactivity timer to a specified
number of seconds. Any control connection that is inactive for the
amount of time specified on this statement is closed by the server.
Syntax
.-INACTIVE 300------.
>>-+-------------------+---------------------------------------><
'-INACTIVE--seconds-'
Parameters
- seconds
- The number of seconds to which the inactivity timer is set. The
valid range is 0 - 86 400. The default is 300. A value of 0 indicates
no inactivity time is enabled, and the connection does not time out.
Examples
Set the inactivity timer to 30
seconds:
INACTIVE 30
Usage notes
- This
value has no effect on the data connections. To specify a timeout
value for the data connection, use the INTERVAL parameter of the TCPCONFIG
statement in PROFILE.TCPIP. See the FTP configuration process in z/OS Communications Server: IP Configuration
Guide for details.
- Specifying an INACTIVE value of zero can result in idle sessions
remaining open indefinitely, which consumes system resources in an
unproductive way. Code a nonzero value for INACTIVE to ensure that
idle, unproductive sessions eventually expire.