CEMT SET JOURNALNAME

Enable or disable a CICS user journal.

Description

The SET JOURNALNAME command allows you to enable or disable a CICS user journal. It has no effect on a journal that is being used as the forward recovery log or auto-journal for a VSAM file until the next time the file is opened or on the system log.

You can use SET JOURNALNAME for a journal name that is not currently known to CICS. CICS dynamically creates an entry for the specified journal and, if necessary, defines it to the MVS system logger using a matching JOURNALMODEL definition (see JOURNALMODEL resource definitions.)

Syntax

CEMT SET JOURNALNAME

Read syntax diagramSkip visual syntax diagramCEMT SET JOURNALNAME( value)( value)ALLENABLEDDISABLEDFLUSHRESET

Options

(value)
Specifies the journal name.

To modify journals defined with a numeric identifier in the range 1–99, specify journal name DFHJnn, where nn is the journal number.

You cannot specify DFHLOG or DFHSHUNT, because you are not allowed to modify the status of the system log.

ALL
specifies that any changes you request are made to all resources of the specified type that you are authorized to access.
DISABLED
The journal is disabled. It cannot be used again until it is reenabled by a SET JOURNALNAME(…) STATUS(ENABLED) or ACTION(RESET) command.
ENABLED
The journal is open and is available for use.
FLUSH
The log buffers are written out to the log stream but the journal is not closed.

You can use this option to ensure that all current records are written out to the log stream before the stream is processed using a batch utility.

RESET
The journal is disabled, but can be reenabled by the next SET JOURNALNAME STATUS(ENABLED) or ACTION(RESET) command for this journal.