NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.TERM.TYPE
System Variables
106126 Tandem Computers Incorporated 5–101
&SYS.TERM.TYPE The &SYS.TERM.TYPE system variable contains the type of terminal from which the
procedure is running. This variable is useful because the results from an NCL
procedure may be dependent on the type of device that is being used or the NCL
environment that the procedure is running in.
&SYS.TERM.TYPE
Considerations
The &SYS.TERM.TYPE system variable is set to one of the values listed in the
following table:
Value Description
3270 The device is a full-screen IBM 3270 or compatible terminal. The
&SYS.TERM.COLS and &SYS.TERM.ROWS system variables can be used to
determine the dimensions of the device.
6530 The device is a full-screen Tandem 6530 or compatible terminal. Dimensions can
be determined in the same manner as for an IBM 3270 or compatible terminal.
BMON The procedure is executing in the background monitor (BMON) environment.
BLOG The procedure is executing in the background logger (BLOG) environment.
BSYS The procedure is executing in the background system (BSYS) environment.
EMSP The procedure is executing in the EMSP environment.
INMC The procedure is running under a Remote Operator Control (ROC) session that
was initiated across an Inter NET/MASTER Connection (INMC) session.
LOGP The procedure is executing in the LOGP environment.
See also &SYS.NCL.TYPE, which contains the type of the current procedure.
Example
The following example shows how you might use this system variable:
IF &SYS.TERM.TYPE = 6530 THEN
SAY "Valid Request"