NET/MASTER Network Control Language (NCL) Reference Manual

#OPT
Panel Control Statements
6–30 106126 Tandem Computers Incorporated
NO
specifies that you want input field variables and the &SYS.PANEL.MODFLD
system variable to remain unaffected if the INWAIT time expires.
INWAIT=
ss.t
specifies, for panels described as synchronous (see the PANEL verb option
TYPE=SYNC), how long you want panel services to wait for input from the
terminal before returning control to the NCL procedure that issued the panel.
ss.t
is expressed in seconds and tenths of a second.
By default, the system waits indefinitely for input after displaying a panel. If the
INWAIT time expires, the NCL procedure that displays the panel resumes control.
NCL ignores any internal validation options if the time interval expires before
input is received.
If you enter input within the INWAIT time interval, NCL resets the time interval
and standard processing proceeds. The maximum value that can be specified for
INWAIT is 86400.0 seconds (24 hours).
Any redisplay of a panel—for example, by use of the CLEAR key—causes a reset
of the INWAIT time interval.
Specification of INWAIT=0 or INWAIT=0.0 indicates that no input is acceptable,
and control returns to the NCL procedure immediately after the panel has been
displayed. In this case, the period for which the panel remains displayed is
determined by the subsequent action taken by the NCL procedure.
The invoking NCL procedure can determine if the INWAIT time expired, or if
data was entered, by testing the &SYS.INKEY system variable. NCL sets the
&SYS.INKEY system variable to the character value of the key pressed by the
operator to enter the data. If you do not enter any data and the INWAIT time
elapses, NCL sets the &SYS.INKEY system variable to null. With CONTROL
PANELRC in effect, NCL sets the &SYS.RETCODE system variable to 12 to
indicate that the INWAIT timer has expired.
The chief purpose of INWAIT is to inform the user of some delay while the panel
remains displayed. Subsequent action by the procedure may issue a PANELEND
verb and display a new panel for further input from the user.
PREPARSE
specifies how you can dynamically modify the location and identity of field
characters in a panel. Normally, the #FLD control statement determines the
position and identity of field characters when the panel is created.
A panel description file remains fixed until you modify it. Although you can
dynamically modify the attributes of each field character (such as the color of the
field) by using variables in the #FLD statement, this technique is limited in the
number of changes you can make.