NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.TERM.COLS
System Variables
5–96 106126 Tandem Computers Incorporated
&SYS.TERM.COLS The &SYS.TERM.COLS system variable contains the number of columns available to
the physical terminal, regardless of the current processing window size.
If tested from a procedure running in a background environment, &SYS.TERM.COLS
returns a value of 80.
&SYS.TERM.COLS
Example
The following example shows how you might use this system variable:
IF &SYS.TERM.COLS > 80 THEN
SAY "BIG SCREEN"
&SYS.TERM.DEVNAME
The &SYS.TERM.DEVNAME system variable contains the physical name of the
terminal with which the current NCL procedure is associated.
&SYS.TERM.DEVNAME
Consideration
See also &SYS.TERM.TYPE, which contains the type of terminal from the NCL
procedure is running.
Example
The following example shows how you might use this system variable:
IF &SYS.TERM.DEVNAME = $ATPD.#TERM1 THEN
SAY "IT COULD BE JOHN NEW!"