NET/MASTER Network Control Language (NCL) Reference Manual

#ERR
Panel Control Statements
106126 Tandem Computers Incorporated 6–11
See the &SYSMSG variable and the &SYS.PANEL.MODFLD system variable in
Section 5, ”System Variables.” &SYSMSG is a variable that can contain user
information. &SYS.PANEL.MODFLD is set to contain the names of any variables
whose content has changed as a result of user input to a panel, including any
variables that give input errors. The CONTROL verb option FLDCTL must be set
if you want the &SYS.PANEL.MODFLD system variable to be updated, as
described earlier.
For further information on the #ERR panel control statement, refer to the NonStop
NET/MASTER NCL Programmer’s Guide. It contains many examples of panel
description files and displays. This guide also discusses the differences between
asynchronous and synchronous panel types.
See the PANEL verb in Section 3, “Verbs,” for a table that summarizes return code
values when displaying panels. For a detailed discussion of these codes (returned
in the &SYS.RETCODE system variable), refer to the NonStop NET/MASTER NCL
Programmer’s Guide.
Example
The following example changes the color of the field in error to red with reverse
highlighting. The terminal alarm is activated when a panel that contains the field in
error is displayed:
#ERR COLOR=RED HLITE=REVERSE ALARM=YES