Format of COMPAT41 journal control label header

Each log block starts with a journal control label header.

There is one journal control label header per log block. It is 42 bytes long, and comprises a length field, label header, and label prefix. The format of the journal control label header is shown in Figure 1.
Figure 1. Format of journal control label header
The picture shows a rectangle, representing the journal control label header. It contains three fields: 4 bytes containing the length of a block. (This is not presented unless the caller is reading data blocks rather than records.)10 bytes containing the label header.32 bytes containing the label prefix.
The label header part of the journal control label header is 10 bytes long, and its format is shown in Figure 2.
Figure 2. Format of label header part of journal control label header
This fields in this picture are described in the list that follows.
JCRLL
2-byte length of record.
X'0000'
2-bytes containing X'0000'.
JCRSTRID
2-byte system-type identifier. For a user journal request, this is X'0000'. Otherwise, it consists of a 1-byte function ID followed by a 1-byte module ID.
JCRUTRID
2-byte user-type identifier. For a CICS® journal request, this is X'0000'. Otherwise, it contains the code specified by the JTYPEID keyword of the user request.
JCRLRN
2-byte record number within the block.
The label prefix part of the journal control label header is 32 bytes long, and its format is shown in Figure 3.
Figure 3. Format of label prefix part of journal control label header
This fields in this picture are described in the list that follows.
X'00'
1-byte containing X'00'.
JCRBLKN
3-byte journal block number.
X'00's
12-bytes each containing X'00'.
JCLRTIME
4-bytes containing the time the block was written, in hhmmss format. (Local or GMT set in LOGR SSI.)
JCLRRST
4-bytes containing the run start time.
JCLRDATE
4-bytes containing the date the block was written.
JCLRSEQ
4-byte journal block sequence number.


dfha3c00315.html | Timestamp icon Last updated: Sunday, 4 June 2017