27 The key position is invalid.

Returned as COBOL status: 9/139

The key field position specified is less than 1 or exceeds the defined (fixed) record length for the file. Either the key position is greater than the fixed record length, or the key position plus the key length exceeds the fixed record length.