CAPD_DATA format (LOGID=X'0C')

The CAPD_DATA block contains fields that describe the name of the physical segment that is captured, the type of data being captured, the length and offset of the segment's key, and other information that pertains to the log record.

The following table lists the format for CAPD_DATA.

Table 1. Format for CAPD_DATA (LOGID = X'0C')
Field name Data type Field description
NEXT_PTR AL4 Internal use only. Not valid.
  CL4 Reserved for future use.
  AL8 Reserved for IMS.
SEGMENT_NAME CL8 Physical segment name.
SEGMENT_LEVEL XL1 Level of physical segment.
CMD_CODE_R XL1 Subset pointer command codes R1 through R8. (*)
DATA_TYPE XL1 The type of data being captured:
X'00'
Segment
X'01'
Before data
X'02'
Cascade data
X'03'
Segment path data
X'04'
Segment data of the twin that follows the segment being inserted.
DATA_FLAGS XL1 Flag byte: Bit definitions follow:
DATA_USER_IO X'80' Data in user I/O area.
DELETED_ON_PHYS_PATH X'40' Segment is deleted on physical path.
  X'20' Reserved for future use.
  X'10' Reserved for future use.
  X'08' Reserved for future use.
  X'04' Reserved for future use.
  X'02' Reserved for future use.
  X'01' Reserved for future use.
LP_KEY_LENGTH H The length of the segment's logical parent key concatenated in front of the segment data. Zero if segment is not a logical child.
KEY_LENGTH H The length of the segment's key. Zero if the segment does not have a key.
KEY_OFFSET H The offset of the segment's key. Zero if the segment does not have a key.
SEGMENT_LENGTH H The length of the segment data.
SEGMENT_PTR AL4 Internal use only. Not valid.
(*): Each bit represents whether the corresponding command code number was specified. For example, if CMD_CODE_R is X'20', it means that R3 was specified on the SSA.