Printing FEPI journal records

Each FEPI journal record contains a prefix area which contains FEPI-related information.

You can select FEPI journal records in the following ways, using a batch job like the CICS-supplied utility program DFHJUP
The FEPI prefix area lies within the API user header, as shown in Figure 1.
Figure 1. Format of the API user header, showing the position of the prefix area
The picture shows the format of the API user header, whose fields are listed below.
CL_UH_LENGTH
4-byte length of header
CL_UH_JOURNAL_TYPE
2-byte journal type
Reserved
2-byte reserved field
CL_UH_PREFIX_LENGTH
4-byte length of prefix
Prefix area
The variable length prefix
User data
Variable length user data
The exact format of this FEPI prefix area is shown in Figure 2.
Figure 2. Format of the FEPI prefix area
The picture shows the format of the FEPI prefix area, whose fields are described below.
UP_MODFN
1-byte module function.
UP_SVMID
1-byte module identifier.
UP_FEPDF
1-byte data function.
Field UP_FEPDF can take any of the following values:
Table 1. Values of UP_FEPDF
Field name Value Meaning
UP_FEPDD 1 Data stream
UP_FEPDS 2 Formatted, screen image
UP_FEPDK 3 Formatted, keystroke
UP_FEPDE 4 Extract field data
UP_FEPES
1-byte escape character for keystroke.
Reserved
2-byte reserved field.
UP_FEPPL
8-byte pool name.
UP_FEPTG
8-byte target name.
UP_FEPCV
8-byte conversation identifier.
Reserved
4-byte reserved field.

For examples of how you can use the CICS-supplied utility program, DFHJUP, to select FEPI records for printing, see Reading log streams using batch jobs (DFHJUP).

For more information about journal records, see Journal records.