TIMEOUT parameter
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:
IODEV | Access method/device type |
---|---|
3 | BSAM |
19 | VTAM or TCP/IP Horizon SQL thread |
23 | Host Language IFAM2 thread |
31 | Host Language IFAM1 thread |
43 | IUCV Host Language IFAM2 thread |
45 | CMS console (line-at-a-time) |
47 | CMS 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:
IODEV | Access method/device type |
---|---|
11 | CRAM 3270 |
29 | CRAM 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.