DUPKSIRM (duplicate key same index)

Purpose
The function was not completed because the record duplicates a key in the index being used to access the file. This index does not allow duplicate key records.
Code Point
The code point for this term is X'1209'.
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:
    4
    Warning (duplicate record found). Indicates that the API access completed successfully and notifies the caller that the record being returned has a duplicate key. This condition was previously flagged as an error.
    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.
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 record number of the record being operated on by the function.
SRVDGN
Server diagnostic information
  • Code point is X'1153'.
  • No information is returned.