Caller data written by file control, Journaling – IBM SC33-1683-02 User Manual
Page 669

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 30 outlines the sections in a journal record written by file control.
Table 30. 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,
U s e r d a ta
P r e f ix a r e a
P re fix le n g t h
J o u r n a l ty p e
2
4
4
2
H e a d e r le n g t h
C L U H LE N G T H
C L U H JO U R N A L T Y P E
C L U H P R E FIX LE N G TH
R e s e r v e d
Va r ia b le le n g th
F ix e d le n g th
Figure 59. Format of the API user header
journaling
Chapter 23. CICS logging and journaling
637