RETLCKSTS (Retain Lock Status) keyword for display files

Use this record-level keyword to specify that the system should not unlock keyboard on the next input operation. This keyword prevents the loss of data when an input operation is started and data is already being transmitted from the keyboard.

Note: Normally an input operation explicitly unlocks the keyboard, even if it is already unlocked. Any data being transmitted from the keyboard at the time of the unlock can be lost.

This keyword has no parameters.

Note: Use this keyword only when the keyboard is already unlocked. Use of this keyword when the keyboard is locked can prevent input from the keyboard, because the unlock does not occur on the input operation. The workstation remains in an input-inhibited state.

Option indicators are valid for this keyword.

Example

The following example shows how to specify the RETLCKSTS keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A
00020A          R REC1                      INVITE
00030A  10                                  RETLCKSTS
     A

If indicator 10 is on when record REC1 is put to the display, the keyboard is not explicitly unlocked by the system when the display device is invited.