NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.SYS.ID
System Variables
106126 Tandem Computers Incorporated 5–95
&SYS.SIGNON The &SYS.SIGNON system variable indicates whether a second window is opened.
The value of &SYS.SIGNON remains at 0 (zero) until the second window is open. It
then changes to 1 and remains at 1 even if the second window is later closed.
0 (zero) and 1 are the only possible values for &SYS.SIGNON.
&SYS.SIGNON
Consideration
The purpose in having an initial value of 0 (zero) is so that an NCL procedure may
perform some initialization when only one window is open. Like most system
variables, it is a read-only variable and cannot be reset to 0 (zero).
Example
The following example shows how you might use this system variable:
IF &SYS.SIGNON = 1 THEN
SAY "The second window might be open, or it might not."
&SYS.SYS.ID The &SYS.SYS.ID system variable contains the current operating system identification.
This system variable always returns the version of the current operating system
release.
&SYS.SYS.ID
Example
The following example shows how you might use this system variable:
SAY "NNM is currently running under "&SYS.SYS.ID