NET/MASTER Network Control Language (NCL) Reference Manual
#OPT
Panel Control Statements
106126 Tandem Computers Incorporated 6–29
ERRFLD=
varname
specifies a variable that holds the name of any input field in error. You must
precede this operand with the ampersand (&) variable specifier. Use of this
operand without including a #ERR statement within the panel description file
results in a run-time error. In this case, NCL sets the &SYS.RETCODE system
variable to 16. The ERRFLD operand provides a simple way of identifying the
name of the field in error.
varname
is set to null if no input errors are detected.
Note See the &SYS.PANEL.FLD system variable in Section 5, “System Variables,” for information on how you
can generate an error on a particular field during panel processing.
FMTINPUT
specifies whether you want input fields to be formatted each time a panel is
displayed. This is a specialized option to avoid losing formatting characteristics of
input fields whenever panel services redisplays a panel, possibly because of a
change in some output field or a timeout.
For example, you can use this option in conjunction with INWAIT. Suppose you
are processing with INWAIT and the time interval expires at the instant you enter
data. If NCL redisplays the same panel to update the screen, the data you entered
might be lost.
You can bypass reformatting of input fields by using FMTINPUT=NO.
If you contain the settings of the FMTINPUT option in a variable within the
procedure, you can toggle these settings between YES and NO.
You should initially specify FMTINPUT=YES to ensure correct formatting of an
input field when the panel is first displayed. On subsequent refreshes (usually
when INWAIT expires) you can set the variable to NO.
YES
specifies that input fields undergo specialized formatting.
NO
specifies that input fields are not specially formatted.
IPANULL
YES
specifies whether you want all input variables reset to null, whenever the
panel is redisplayed because of the expiry of the INWAIT time. This option
can also reset the &SYS.PANEL.MODFLD system variable to null. This
variable contains a list of all input fields that the user has modified. The
CONTROL verb option FLDCTL makes this system variable available to panel
services.