UNLOCK(*ERASE *MDTOFF) or UNLOCK(*MDTOFF *ERASE) for Display Files

The keyboard remains unlocked, input-capable fields on the display with their MDTs set on are erased, and their MDTs are set off following the input operation.

The GETRETAIN keyword is ignored and an error message results at file creation time if the GETRETAIN keyword is specified with UNLOCK(any parameter).

Note:
This keyword does not prevent your program from issuing an output operation immediately after an input operation. However, the keyboard is unlocked and the work station user could be keying input data when the output operation changes the display.

Option indicators are not valid for this keyword.