NET/MASTER Network Control Language (NCL) Programmer's Guide
Panel Skipping and Navigation in the Panel Hierarchy
Working With Panels
106160 Tandem Computers Incorporated 14–81
Explicit Handling of END and RETURN
If CONTROL PFKSTD is set, the PANEL verb does not recognize the END and
RETURN functions. The NCL process must check each function key that is pressed
and take appropriate action.
Note Setting CONTROL PFKSTD to explicitly handle the END and RETURN functions is not recommended.
Default Panel Skip
Handling
The PANEL verb is involved in a panel skip when the skip is started and also when
subsequent panels are skipped.
When using default panel skip handing, you must provide the following:
Your primary menu NCL procedures must have a handler for the
PANEL_RETURN error condition.
For any menu that has a subordinate menu, the input field that handles the menu
selection must be assigned the PSKIP=GMENU attribute (using the #FLD panel
control statement to define the appropriate field character in the panel description
file).
For any menu that does not have a subordinate menu, the input field that handles
the menu selection must be assigned the PSKIP=PMENU attribute (using the
#FLD panel control statement to define the appropriate field character in the panel
description file).
Starting a Panel Skip
A panel skip is started when a panel is displayed on a screen. One input field of the
panel must have the #FLD PSKIP=PMENU attribute otherwise no panel skip can start
from the panel.
Normally, a user enters data in the input field and presses the ENTER key. The
PANEL verb checks the contents of the PSKIP=GMENU input field and takes the
following actions:
If the input data starts with an equal sign (=), perhaps preceded by blanks, the
PANEL verb:
Removes the leading equal sign
Assigns the rest of the input data to the &SYS.PANEL.SKIP system variable
Raises a PANEL_SKIP_PMENU error condition
Ignores the contents of other input fields
Note These actions apply to both PSKIP=GMENU and PSKIP=PMENU.