NET/MASTER Network Control Language (NCL) Reference Manual

PANEL
Verbs
3–142 106126 Tandem Computers Incorporated
When control is returned to the NCL procedure after a PANEL verb, the
&SYS.RETCODE system variable is set to one of the following values:
Return
Code For Synchronous Panels For Asynchronous Panels
0 One or more panel fields have been
modified, and internal validation has not
detected any errors.
The PANEL verb must be reissued to
redisplay the panel. Input is available from a
previous display, and no errors were
detected.
4 No input fields have been modified, and
internal validation has not detected any
errors.
Same for return code 0 (zero), but no input
fields have been changed. The operator
pressed the Enter key or a function key. The
&SYS.INKEY system variable contains the
name of the key.
8 An error in an input field has been
detected by internal validation.
Internal validation has detected an error in an
input field. The variable &SYSMSG contains
an error message. &SYS.PANEL.FLD
contains the name of the input field in error.
12 The time limit specified by #OPT INWAIT
has expired without any data entry.
The display operation has been scheduled.
You cannot determine whether the panel is
being displayed for the first time or whether it
is overwriting a previous display.
16 The panel was not displayed. The panel
does not exist, or there is an error in the
panel definition.
The panel was not displayed. The panel does
not exist, or there is an error in the panel
definition.
For more information on panel libraries, and on preloading and unloading panels,
refer to the NonStop NET/MASTER NCL Programmer's Guide.
For more information and examples on panel descriptions and displays, refer to
the NonStop NET/MASTER NCL Programmer's Guide, which also contains examples
of panel definitions and displays. This guide also discusses the differences
between asynchronous and synchronous panel types, and contains a full
description of valid return codes for the PANEL verb.
See also CONTROL (SHAREW, NOSHAREW, NOPANELRC, and PANELRC
operands) and PANELEND. The CONTROL operands give additional control
over the execution of the PANEL verb. The PANELEND verb unlocks a window
to allow further use by other NCL processes.
Examples
The following example displays the panel called HELP1:
PANEL HELP1
The following example displays the panel defined in the variable &1. Current input is
interrupted if the screen is already in use:
PANEL &1 CDELAY=NO