| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
| Overview | Variable Names | Variable Types | Variable Length | Variable Classification | Data Division Statements | System Variables |
| System variable: | ITERM$ |
| Length: | 3 |
| Description: |
The system variable named ITERM$ contains the identification
number of the initiating terminal for the current program. This
value is a three-byte string in the form "Tnn", where "nn" is a
value from "00" to "99".
When a program is running in a foreground partition, the value of ITERM$ is identical to TERM$. However, for a program running in a background partition, TERM$ will contain a null value and ITERM$ will contain the identification number of the terminal initiating the background process. |