KEYVALRM (invalid key value)

Purpose
Specifies that the key value provided on a function or a record is not valid.
This can be caused by:
  • Specifying a variable-length record that does not contain all of the fields for the defined file key.
  • Specifying a key that is not valid for the target server.
Code Point
The code point for this term is X'1240'.
Structure
See Reply message structure for the general structure of reply message data.
Parameter
Description
SVRCOD
Severity code
  • Code point is X'1149'.
  • Returned.
  • Enumerated value(s) for this parameter:
    8
    Error Severity Code
    16
    Severe Error Severity Code
CSRPOSST
Cursor position status
  • Code point is X'115B'.
  • Returned.
DTALCKST
Data lock status
  • Code point is X'115C'.
  • Returned.
FILNAM
File name
  • Code point is X'110E'.
  • Returned.
KEYVAL
Key value in error
  • Code point is X'1115'.
  • Returned.
RECCNT
Record count
  • Code point is X'111A'.
  • Minimum value is 0.
  • Returned for requests to insert multiple records in a file.
RECNBR
Record number
  • Code point is X'111D'.
  • This is the number of the record being operated on by the function.
SRVDGN
Server diagnostic information
  • Code point is X'1153'.
  • No information is returned.