other security-sensitive data. If the print function (permitted by specifying the
PRINT keyword) is performed, nondisplay fields are not printed.
PC (Position Cursor) for Display Files
Use this attribute to position the cursor to the first character position of the field
you are defining. You can specify this attribute for several fields, and the cursor
will be positioned at the first selected field with this attribute. Note that the fields
within a record are ordered in line/position sequence as they appear on the
display and not necessarily in the order you specify them.
RI (Reverse Image) for Display Files
Use this attribute to specify that the image of the field is to be reversed from the
other portion of the screen when it is displayed. Whether the screen is
light-on-dark or dark-on-light depends on the status of the display prior to
displaying the field. This setting is controlled by the work station user.
UL (Underline) for Display Files
Use this attribute to specify that the field is to be underlined when it is displayed.
All input-capable fields are underlined by default. See the CHGINPDFT keyword
to prevent the default underlining. (If CHGINPDFT is specified, DSPATR(UL) must
be specified to underline an input-capable field.) If DSPATR(UL) is specified with
option indicators and the option indicators are not satisfied (DSPATR(UL) not
selected), the field appears without underline.
Display Attributes for Input-Capable Fields for Display Files
MDT (Set Changed Data Tag) for Display Files
Use this attribute to specify that the OS/400 program is to set on the changed data
tag (MDT) for the field you are defining when the field is written to the display.
The attribute ensures that the field is sent from the device when the record is read
from the display.
Note: The OS/400 program saves output data for output/input fields or initialized
data for fields with the DFT keyword specified. This causes the saved data
to be returned on an input operation if no new (changed) data is entered
into the field.
OID (Operator Identification) for Display Files
Use this attribute to specify that the OS/400 program is to allow magnetic stripe
reader OID data to be entered into this field. If it is to be a nondisplay field also,
the DSPATR(ND) attribute must be specified.
Afield with the DSPATR(OID) keyword functions like any other input-capable
field; data can be entered from either the keyboard or the magnetic stripe reader.
The DSPATR(OID) keyword can be specified (but is not required) to indicate that
data can be entered using a magnetic stripe reader. You can key into the field
unless the keyboard shift Inhibit Keyboard Entry (I) is specified. If both
DSPATR(OID) and DSPATR(SP) are specified on the same field, DSPATR(SP) is
Display Files, DSPATR
OS/400 DDS Reference V4R5