The following are attributes for input-capable fields:
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.
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.
A field 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 ignored.
Use this attribute to specify that the work station user cannot key into the input-capable field you are defining. This attribute is valid for input-capable fields only. Output-only fields and constant fields are protected by definition.
Use this attribute to specify that this input-capable field can be selected by a light pen. The work station user can key into a light pen field unless an I (Inhibit Keyboard Entry) has been specified in position 35 (Data Type/Keyboard Shift) for the field.
When the field is first displayed, the contents of the field are set by your program (output/input field) or in the DDS (input-only field with DFT keyword or character string). If no new data is typed in by the work station user, this output data is returned to your program on an input operation.
A field that can be selected by a light pen should be at least 3 bytes long. The recommended contents of this field are:
This attribute is useful only for work stations with a light pen feature for selecting.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.