Some records have a third and fourth section which are of variable length.
Table 38 outlines the sections in a journal record written by file control.
Table 38. FLJB sections in journal records issued by file control
Record type First section Second section Third section Fourth section
Read-only
Read-update
Write-update
Write-add
Write-add
complete
FLJB_GENERAL_
DATA
FLJB_COMMON_DATA FLJB_CD_KEY FLJB_CD_DATA
Write delete FLJB_GENERAL_
DATA
FLJB_WRITE_DELETE
_DATA
FLJB_WDD_BASE
_KEY
FLJB_WDD_PATH
_KEY
File close FLJB_GENERAL_
DATA
FLJB_FILE_CLOSE _DATA None None
Tie-up FLJB_GENERAL_
DATA
FLJB_TIE_UP_RECORD
_DATA
None None
A description of each of the structures, and the sections within them, now follows:
Read-only, read-update, write-update, write-add, write-add
complete record types
There are four sections in the journal records written for read-only, read-update,
write-update, write-add, and write-add complete record types:
v The FLJB_GENERAL_DATA section,
v The FLJB_COMMON_DATA section, and
v The caller data image sections which consist of the FLJB_CD_KEY (the length of
which is given in FLJB_COMMON_DATA) and the FLJB_CD_DATA section. The
FLJB_CD_DATA section (the length of which is given in FLJB_COMMON_DATA)
contains the image of the caller data.
The format of such a record written for these record types is shown in Figure 78.
12 16
Variablelength
FLJB_GENERAL_DATA FLJB_CD_KEY FLJB_CD_DATAFLJB_COMMON_DATA
Fixedlength
Figure 78. Layout of record written for read-only, read-update, write-update, write-add, and write-add-complete record
types
718 Customization Guide