A description of the condense phase of an archive journal
search cancel

A description of the condense phase of an archive journal

book

Article ID: 20292

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

The archive journal utility consists of a few steps one of which is the condense. This document describes what occurs in that step.

Environment

Release: All supported releases.

Resolution

This is an outline of the ARCHIVE JOURNAL utility's condense phase.

For any transaction that is still active, IDMS may need to recover that transaction in the future, if it abends. So, all journal images for any transactions that are still active will need to stay on that disk journal file.

During the OFFLOAD phase, all images for all transactions on the disk journal are copied to the ARCHIVE. Images for completed transactions are removed from the disk journal. Images for transactions that were still active at the time of the offload are "condensed", or moved up to the front of the journal segment. Only the BFOR images for the active transactions are saved in the condensed segment in case that transaction needs to be rolled back. The disk journal then has a condensed segment on it. This can be seen with the command:

DCMT DISPLAY JOURNAL

This command will show all disk journal files, and all segments on those files. Some files may have more than one segment. The older numbered segments are the condensed segments that were processed by the ARCHIVE JOURNAL utility. These condensed segments will ultimately be removed from the journal when a subsequent ARCHIVE JOURNAL utility determines that those images are no longer required for automatic recovery, because their transactions have completed or were abended and rolled out.