TIMEOUT parameter

From m204wiki
Revision as of 13:52, 28 September 2017 by DCameron (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Inactive thread timeout in seconds

Summary

Default value
0
Parameter type
User
Where set
On user's parameter line
Related products
All
Introduced
Model 204 V2.1 or earlier

Description

The number of seconds Model 204 waits for terminal input before executing a soft restart of the thread

A soft restart logs out the terminal user and closes any open files. In addition, if the SYSOPT setting includes a value of 8, Model 204 disconnects certain types of terminals. The exceptions are listed below. Inactive thread timeout prevents unused terminals from tying up system resources.

If TIMEOUT is set to 0, there is no time limit for terminal input. TIMEOUT must not exceed 32767.

Inactive thread timeout is ignored with the following IODEV settings:

IODEVAccess method/device type
3BSAM
19VTAM or TCP/IP Horizon SQL thread
23Host Language IFAM2 thread
31Host Language IFAM1 thread
43IUCV Host Language IFAM2 thread
45CMS console (line-at-a-time)
47CMS full screen console
49 VTAM or TCP/IP Horizon Remote Command Line (RCL) thread

Even if the SYSOPT setting includes a value of 8, specifying a nonzero value for TIMEOUT can be problematic for CICS applications for the IODEV settings shown below:

IODEVAccess method/device type
11CRAM 3270
29CRAM line-by-line

If TIMEOUT is nonzero, Model 204 restarts an IODEV 11 or IODEV 29 thread when the TIMEOUT waiting time is reached. However, for CICS applications, the thread is not freed from CRAM, not reported as used by the Model 204 MONITOR command, and not available to the user.

The Model 204 CICS Interface has a timing parameter that you can set to have the interface automatically clear for CICS use any threads that were restarted by Model 204. IODEV 11 or IODEV 29 users without this option can keep their threads available by making sure that TIMEOUT=0 for their threads.