Write-delete record types

There are four sections in the journal records written for write-delete record types:
  • The FLJB_GENERAL_DATA section,
  • The FLJB_WRITE_DELETE_DATA section, and
  • The two caller data image sections, which consist of:
    • FLJB_WDD_BASE_KEY (the length of which is given by FLJB_WDD_BASE_KEY_LENGTH in FLJB_WRITE_DELETE_DATA)
    • FLJB_WDD_PATH_KEY (the length of which is given by FLJB_WDD_PATH_KEY_LENGTH in FLJB_WRITE_DELETE_DATA).

    These sections contain the image of the caller data as the base key, and, if the data set is a path, the path.

The format of such a record written for write-delete record types is shown in Figure 1.
Figure 1. Layout of record written for write-delete record types
This fields in this picture are described in the list that follows.
FLJB_GENERAL_DATA
12-byte general data section.
FLJB_WRITE_DELETE_DATA
12-byte write-delete data section.
FLJB_WDD_BASE_KEY
Variable-length base key.
FLJB_WDD_PATH_KEY
Variable-length path key.

See Figure 2 for the format of the FLJB_GENERAL_DATA section.

The format of the FLJB_WRITE_DELETE_DATA section is shown in Figure 2.
Figure 2. Format of the FLJB_WRITE_DELETE_DATA section
This fields in this picture are described in the list that follows.
FLJB_WDD_BASE_ESDS_RBA
4-byte relative byte address of record in base data set for ESDS (0 if file does not refer to ESDS, or if it is an extended addressing ESDS).
FLJB_WDD_BASE_KEY_LENGTH
2-byte base key length. (The key length is 4 for an RRDS, a VRRDS, or a standard ESDS; 8 for an extended addressing ESDS.)
FLJB_WDD_PATH_KEY_LENGTH
2-byte path key length (0 if file does not refer to a path).
FLJB_WDD_BITS
1-byte flag field:
X'80'    UOW has been shunted at least once
X'40'    Fixed-length record
Reserved
3-byte reserved field.


dfha3c00311.html | Timestamp icon Last updated: Sunday, 4 June 2017