Enable or disable a CICS user journal.
The SET JOURNALNAME command allows you to enable or disable a CICS user journal.
SET JOURNALNAME has no effect on a journal that is being used as the forward recovery log or autojournal for a VSAM file until the next time the file is opened. It has no effect 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.
The ability to issue SET JOURNALNAME commands for journal names not known to CICS enables you to perform log stream connection processing before the corresponding journals are first referenced. For example, you could do this during a PLT program at initialization to avoid the delay that normally occurs at first reference.
You can use this option to ensure that all current records are written out to the log stream before processing the stream using a batch utility.
In the case of autojournals and forward recovery logs, the FLUSH is forced if the file is open (the FLUSH does not wait until the next time the file is opened).
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.