NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.TERM.NAME
System Variables
106126 Tandem Computers Incorporated 5–99
&SYS.TERM.NAME The &SYS.TERM.NAME system variable contains the logical name of the terminal
from which the NCL procedure is executing. NCL procedures may need to vary
processing depending on the NCL environment in which the procedure is running.
The value returned from &SYS.TERM.NAME contains, at most, eight characters.
&SYS.TERM.NAME
Consideration
Certain system environments use virtual user IDs and terminal names. The following
values are returned for base product system environments:
Value Environment
BG-MON Background Monitor
BG-LOG Background Logger
BG-SYS Background System Environment
EMS-PROC EMSPROC Procedure
LOG-PROC LOGPROC Procedure
MSG-PROC MSGPROC Procedure
*REMOTE* Remote Operator Control (ROC) user
Example
The following example shows how you might use this system variable:
IF &SYS.TERM.NAME = #0910720 THEN
SAY "MUST BE MICHAEL G."