Journaling

CICS® provides facilities for creating and managing journals during CICS processing. Journals can contain any data the user needs to facilitate subsequent reconstruction of events or data changes.

For example, a journal might act as an audit trail, a change-file of database updates and additions, or a record of transactions passing through the system (often referred to as a log). Each journal can be written from any task.

Journal control commands are provided to allow the application programmer to:
  • Create a journal record (WRITE JOURNALNAME or WRITE JOURNALNUM command)
  • Synchronize with (wait for completion of) journal output (WAIT JOURNALNAME or WAIT JOURNALNUM command)

Exception conditions that occur during execution of a journal control command are handled as described in Dealing with exception conditions. (The earlier JFILEID option is supported for compatibility purposes only.)