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.
Table 1 outlines the sections in a journal record written by file control.
| Record type | First section | Second section | Third section | Fourth section |
|---|---|---|---|---|
| Read only Read update Write update Write add Write add comp. | 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: