SysVar.terminalID (like SysVar.sessionID)
is initialized from the Java™ Virtual Machine system property user.name,
and if the property cannot be retrieved, SysVar.terminalID is
blank.
You can use SysVar.terminalID in these ways:
- As the source in an assignment or move statement
- As a variable in a logical expression
- As the argument in a return statement
The characteristics of
SysVar.terminalID are
as follows:
- Primitive type
- CHAR
- Data length
- 8, padded
with blanks if the value has less than the maximum number of characters
- Is value always restored after a converse?
- Yes