NET/MASTER Network Control Language (NCL) Reference Manual

Summary of System Variables
System Variables
106126 Tandem Computers Incorporated 5–7
Table 5-1. List of System Variables and Functions (Page 5 of 5)
System Variable Function
&SYS.RETCODE Contains the current system return code or contains a new
user-assigned return code value.
&SYS.SIGNON Indicates whether a second window has been opened.
&SYS.SYS.ID Contains the current operating system identification.
&SYS.TERM.COLS Contains the number of columns available to the physical
terminal.
&SYS.TERM.DEVNAME Contains the physical name of the terminal with which the NCL
procedure is associated.
&SYS.TERM.EXTCO Indicates if the terminal from which the NCL procedure is
executing supports extended color.
&SYS.TERM.EXTHI Indicates whether the terminal from which the NCL procedure
is executing supports extended highlighting.
&SYS.TERM.NAME Contains the name of the terminal from which the NCL
procedure is executing.
&SYS.TERM.ROWS Contains the number of rows available to the physical
terminal.
&SYS.TERM.TYPE Contains the type of terminal from which the procedure is
running.
&SYS.TIME Contains the current time of day.
&SYS.USER.AUTH Contains the command authority of the user currently
executing the procedure.
&SYS.USER.ID Contains the user ID of the user currently executing the
procedure.
&SYS.USER.LC Contains the language code for the user.
&SYS.USER.MODE Indicates whether the current user ID has been used before.
&SYS.USER.PWSTATE Indicates whether the user's password has expired.
&SYS.VARCNT Contains the number of variables created or modified by the
last NCL verb that used generic processing.
&SYS.WINDOW.COLS Contains the number of columns currently available to this
window.
&SYS.WINDOW.NUMBER Contains the identifier of the current window.
&SYS.WINDOW.OCS Indicates whether the NCL processing environment is
associated with an OCS window.
&SYS.WINDOW.REAL Indicates whether the issuing procedure has access to a real
window.
&SYS.WINDOW.ROWS Contains the number of rows available in the current window.