RETKEY keyword

RETKEY indicates to retain any CLEAR, HELP, HLPRTN, HOME, PAGEDOWN, PAGEUP, PRINT, ROLLDOWN, and ROLLUP keywords when the record is displayed.

You cannot specify RETKEY with a CLEAR, HELP, HOME, PAGEUP, PAGEDOWN, ROLLDOWN, or ROLLUP keyword on the file level or on this record format. PRINT is not allowed on the same record format with RETKEY.

The HLPRTN and PRINT keywords are allowed at the file level with RETKEY. If option indicators are specified on either HLPRTN or PRINT, the state of the indicators when the current record is displayed determines whether the keyword is active.

If you specify HLPRTN on the same record format with RETKEY, the HLPRTN function will not be retained from the previous record.