Named Fields for Display Files

For input-only fields, the specified value is displayed each time the field is displayed. The displayed value can then be changed by the work station user and returned to your program.

For output-only and output/input fields, you must also specify PUTOVR at the record level and OVRDTA at the field level with the DFT keyword. The specified value is displayed only on the first output operation. On subsequent output operations, the program value is displayed. For more information and an example, see PUTOVR (Put with Explicit Override) Keyword for Display Files.

The DFTVAL, EDTCDE, and EDTWRD keywords cannot be specified with the DFT keyword.

The DFT keyword is not valid on floating point fields.

Option indicators are not valid for this keyword, although option indicators can be used to condition the field (whether constant or named) on which it is specified.