Caller data written by file control
The file log and journal block (FLJB) describes the caller data that file control writes
as part of its journal records. The copybook DFHFCLGD defines the FLJB DSECT.
There are two sections in the FLJB: the first section contains data that is applicable
to all journal records written by file control; the second section contains information
specific to the record type. Both sections are of fixed length.
Some records have a third and fourth section which are of variable length.
Table30 outlines the sections in a journal record written by file control.
Table30. 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-addcomplete 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:
vThe FLJB_GENERAL_DATAsection,
User dataPrefixareaPrefix length
Journaltype
24
42
Header length
CLUH LENGTH
CLUH JOURNALTYPE
CLUH PREFIXLENGTH
Reserved
Variable leng th
Fixed length
Figure 59. Format of theAPI user header
journaling
Chapter23. CICS logging and journaling 637