NET/MASTER Network Control Language (NCL) Reference Manual

PANEL
Verbs
106126 Tandem Computers Incorporated 3–139
PANEL The PANEL verb displays the specified full-screen panel. The PANEL verb can be
used in any NCL procedure that has access to an OCS full-screen window. This
includes NCL procedures invoked from the User Services section of the primary
menu, or from NCL procedures invoked from OCS. Using the PANEL verb in a
process that does not have access to an OCS full-screen window causes a run-time
error.
Before being displayed, NCL scans the specified panel and makes substitutions for
system and user variables. User variables required by the panel do not have to be
created within the NCL procedure (before the PANEL statement is issued).
After the terminal operator completes data entry, control returns to the NCL
procedure statement that follows the PANEL verb. Data entered by the terminal
operator is available in the user variables defined in the panel definition.
PANEL {
panelname
| NAME=
panelname
}
[ CDELAY=NO | YES ]
[ TYPE=ASYNC | SYNC ]
panelname
specifies an expression that is assumed to be the name of the panel. It is illegal to
provide a null expression. Defining a panel name in this manner is mutually
exclusive to setting the panel name explicitly by using the NAME keyword.
NAME=
panelname
specifies the one-character to eight-character name of the panel, which is actually
the panel file name.
CDELAY
specifies the action NCL should take if the OCS window is currently being used
for input.
NO
specifies that panel output is to override the terminal's input mode, and the
panel is to be displayed immediately. If necessary, current input is
interrupted.
YES
specifies that panel display is to be delayed for the period set by the
SYSPARMS CDELAY command.
TYPE
specifies whether this is an asynchronous (ASYNC) or synchronous (SYNC) panel
display request.