NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.WINDOW.REAL
System Variables
106126 Tandem Computers Incorporated 5–109
&SYS.WINDOW.REAL The &SYS.WINDOW.REAL system variable indicates whether the issuing procedure
has access to a terminal window, and if it can issue a PANEL statement.
For any NCL procedure executing in an NCL processing environment that is
associated with a real terminal window (for example, a procedure that is not running
in a system background environment or as a ROC session), &SYS.WINDOW.REAL
returns a value of 1. Otherwise, NCL returns a value of 0 (zero).
&SYS.WINDOW.REAL
Consideration
If referred to in a background environment, &SYS.WINDOW.REAL is 0 (zero).
Example
The following example shows how you might use this system variable:
IF &SYS.WINDOW.REAL THEN
SAY "THIS PROCEDURE CAN DISPLAY A PANEL"