NET/MASTER Network Control Language (NCL) Reference Manual
#OPT
Panel Control Statements
106126 Tandem Computers Incorporated 6–27
#OPT The #OPT panel control statement specifies the operational and processing
characteristics of a panel. NCL scans the #OPT statement and performs any necessary
variable substitution before parsing. This allows dynamic tailoring of the panel
processing options available with this statement.
You can specify as many #OPT statements as required, in any order, provided all
#OPT statements precede the display part of a panel. The first statement in a panel
description file that is not a panel control statement determines the start of the panel
display area.
#OPT [ ALARM={ YES | NO } ]
[ CURSOR={
varname
|
row
,
column
}
]
[ DEFAULT=
hlu
]
[ ERRFLD=
varname
]
[ FMTINPUT={ YES | NO } ]
[ IPANULL={ YES | NO } ]
[ INWAIT=
ss.t
]
[ PREPARSE={ (
c
,S ) | (
c
,D ) } ]
ALARM
specifies if you want the terminal alarm to sound when the panel is displayed.
You can control the alarm dynamically by specifying the value of the ALARM
operand in a variable. You can then set this variable within the procedure before
issuing the PANEL verb.
If NCL redisplays the panel to indicate that internal validation has detected an
error, NCL ignores this operand and sounds the terminal alarm according to the
setting in the #ERR statement.
YES
specifies that the terminal alarm is sounded when the panel is displayed.
NO
specifies that the terminal alarm is not sounded when the panel is displayed.
CURSOR
varname
specifies the name of a variable in an input field at which you want the cursor
to be positioned. Specifying
varname
with a name other than that of a
variable associated with a #FLD statement as TYPE=INPUT results in an error.