Journal entry layout of LOB columns

These commands return a buffer that gives the user addressability to the large object (LOB) data that has been journaled.

  • Receive Journal Entry (RCVJRNE) CL command, when the value *TYPEPTR is specified for the ENTFMT keyword
  • Retrieve Journal Entries (QjoRetrieveJournalEntries) API

The layout of the LOB columns in these entries is as follows:

  • 0 to 15 bytes of hex zeros
  • 1 byte of system information set to '00'x
  • 4 bytes holding the length of the LOB data addressed by the pointer, below
  • 8 bytes of hex zeros
  • 16 bytes holding a pointer to the LOB data stored in the Journal Entry.

The first part of this layout is intended to 16 byte boundary align the pointer to the LOB data. The number of bytes in this area depends on the length of the columns that proceed the LOB column. Refer to the section above on the Display Layout of LOB Columns for an example of how the length of this first part is calculated.