NET/MASTER Network Control Language (NCL) Reference Manual

&SYS.PANEL.SKIP
System Variables
106126 Tandem Computers Incorporated 5–87
Errors in the specified panel set value may cause termination of the skip process.
Attempts to navigate beyond a valid panel structure or to pass a point at which
mandatory input data is required also cause the skip process to terminate.
Considerations
When panel skipping is in progress, intermediate system menu panels, such as the
primary menu, are automatically suppressed. The first attempt to display a panel,
such as from an NCL procedure, cancels any remaining panel skip. It is therefore
the user's responsibility to ensure that NCL procedures correctly provide for panel
skips.
Whenever the &SYS.PANEL.SKIP system variable is referred to by an NCL
procedure, it returns the next option (separated by periods), or the null value if
there are no more options. By successively referring to this system variable, you
can make the underlying NCL procedure skip through panels without displaying
them until &SYS.PANEL.SKIP is null.
If the panel being called does not contain at least one field defined as a skip field,
the use of this system variable has no effect.
For more information on panel skipping, see the #FLD panel statement in
Section 6, “Panel Control Statements.”
See also the PANEL verb in Section 3, “Verbs.”
Example
The following example sets the &SYS.PANEL.SKIP system variable and exits. In the
following example panels must exist to satisfy the skip criteria:
SKIP_PROC: PROCEDURE
&SYS.PANEL.SKIP = "=C.G.H"
PANEL NAME = NAMEADDR
EXIT
END SKIP_PROC