Enabling, disabling, and reading journals
Journal records are written to a log stream either directly from a user application
program, or from a CICS management program on behalf of a user application.
Journal records can be written from a user application using the EXEC CICS
WRITE JOURNALNAME command. For programming information about the EXEC
CICS WRITE JOURNALNAME command, see WRITE JOURNALNAME, in the
CICS Application Programming Reference manual.
This section describes the commands that you use for enabling and disabling
journals, and for reading journals offline.
Enabling and disabling a journal
To enable or disable a journal from an application program, use the EXEC CICS SET
JOURNALNAME command. For programming information about the EXEC CICS SET
JOURNALNAME command, see the CICS System Programming Reference manual.
SystemLogger
Current
DataSet
LSN1
LSN1
Staging
DataSets
Full
DataSet
DataSpace
Primarystorage
Tertiarystorage
DFHSM
Storage
Secondarystorage
MVS1
Figure 72. The types of storage used by the MVS system logger. This diagram shows a log stream that uses
DASD-only logging. Primary storage consists of a data space in the same MVS image as the system logger, and a
single staging data set.
Chapter 27. CICS logging and journaling 711