RECDMGRM (record damaged)

Purpose
A record in the file is damaged and cannot be accessed. A damaged record is one in which the Code point is not an active or inactive record.
Damaged records can be bypassed as an option of the following functions:
  • DDMSetKeyNext
  • DDMSetNextRec
  • DDMUnloadFileFirst
  • DDMUnLoadFileNext

RECDMGRM is returned with a severity code of WARNING for every damaged record that is bypassed. The record number of the bypassed record is also returned. If damaged records cannot be bypassed, this message is returned with a severity code of ERROR or greater.

Code Point
The code point for this term is X'1249'.
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 Severity Code
    8
    Error Severity Code
    16
    Severe Error Severity Code
    32
    Access Damage Severity Code
    64
    Permanent Damage 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.
  • Information is returned if available.
RECNBR
Record number
  • Code point is X'111D'.
  • Information is returned if available.
SRVDGN
Server diagnostic information
  • Code point is X'1153'.
  • No information is returned.