Use this record-level keyword with the UNLOCK keyword to specify that the OS/400 program is not to erase input-capable fields on input operations as described under the UNLOCK keyword.
This keyword has no parameters.
Using GETRETAIN reduces input keying when successive records contain mostly identical input. With GETRETAIN specified, the work station user needs only to change certain input fields rather than rekeying the entire record.
You must specify the UNLOCK keyword without any parameters when using GETRETAIN. The UNLOCK(*MDTOFF) specification provides the same function as GETRETAIN. See "UNLOCK (Unlock) Keyword for Display Files"
Option indicators are not valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.