User`s guide

4-49
Printer, Plotter, and Spooler Subsystem Programming
Field Characteristics Operators
E
Controls the entry_type field of the sm_cmd_opt object. The possible values
for the E option are:
# Indicates that numerical entry is allowed.
f Indicates that a file entry is allowed. A valid file name must be
specified.
n Indicates no entry is allowed. The field cannot accept typed
input.
r Indicates an alphanumeric entry is allowed.
t Indicates that text entry is allowed.
x Indicates that a hexacimal entry is allowed.
To allow numerical entry into the SMIT dialog field, enter:
:100:_L:E#:60
Q
Controls the value of the required filed of the sm_cmd_opt object. The
required field determines if the field value should be sent to the cmd_to_exec
command for this dialog.
A single character specifies the value type. The default value is n which means
that the flag and value for the sm_cmd_opt object is passed only if the field value
is changed. Possible values for the required field are:
n Represents no. Do not send flag unless user changes the initially
displayed value. The n value is the default.
y Represents yes. Always sends the prefix field and value of
the entry field even if it is null.
+ Send the prefix field and value. The value must contain 1
non–blank character.
? Always send the prefix field and values except when the
value is null.
To ensure that the prefix field and the value of the entry field is always sent
to cmd_to_exec, enter:
:100:_L:Qy:60
Auxiliary Operations and Validation Operators
Auxiliary operations for the SMIT dialog definitions determine the type of list and input
required from the user. The types of lists available in the dialogs are list, multi–select list,
range list, option ring, or multi–select option ring. The limits field operators that specify
the type of auxiliary operation used by an attribute are L, M, G, and R.
Only one type of auxiliary operation is supported at a time. The default is op_type=n . The
n value means that no auxiliary operation is permitted for the field.