The REVERT function starts from the Adabas version of the last nucleus session.
This document covers the following topics:
The version of Adabas database (version and revision level) to achieve at the end of the ADACNV run. The TOVERS parameter value must be a version lower than the source version.
The version format is vr indicating the version and revision level; for example, 61.
When reverting from a version of Adabas that uses the parallel participant table (PPT) structure to a lower version of Adabas, an error is printed and conversion fails if the system detects one or more protection logs (PLOGs) from the current version that have not been copied/merged.
If IGNPPT is specified, the utility will continue processing in spite of the uncopied/unmerged PLOGs.
When an error is encountered while the function is running, the utility prints an error message and terminates with user abend 34 (with a dump) or user abend 35 (without a dump).
If NOUSERABEND is specified, the utility will not abend after printing the error message. Instead, the message "utility TERMINATED DUE TO ERROR CONDITION" is displayed and the utility terminates with condition code 20.
PLOGDEV specifies the physical device type on which the multiple protection log datasets to be reverted is contained. If PLOGDEV is not specified, the device type specified by the ADARUN DEVICE parameter is used.
If ADACNV terminates abnormally after the "point of no return", that is, after all changed blocks have been written to DD/FILEA, the RESTART parameter instructs ADACNV to begin its run by reading the contents of DD/FILEA and continue by writing them to the database.
The TEST parameter tests the feasibility of the reversion operation without actually writing any changes to the database.
The following is an overview of the reversion steps performed by ADACNV.
Reversion is not possible if any Adabas feature is used in the current version that is not supported in the target version. This statement applies to all Adabas features that affect the structure of the database.
Version 7.1 extends the free space table (FST) from one RABN (RABN 10) to five RABNs (RABNs 10-14). ADACNV checks whether all FST entries fit into one RABN. If not, the smallest FST extent is removed. This is repeated until the FST fits into one ASSO block. An appropriate message is printed.
Any Delta Save Facility DLOG area header is set to the correct version.
Any Delta Save Facility DLOG area header is set to the correct version.
The free space table (FST) is reverted from 4- to 3-byte RABNs.
Unused RABN chains are reverted from 4- to 3-byte RABNs for each loaded file.
Any Delta Save Facility DLOG area header is set to the correct version. If the Delta Save Facility logging status is "enabled", it is set to "disabled" and an appropriate message is printed.
If a block of unreadable blocks (BUB) exists, it is reverted from 4- to 3-byte RABN structure.
The older security file FDT is installed.
The older checkpoint file FDT is installed.
Any security-by-value criteria will not revert . This means that a security file with security-by-value criteria must be deleted before the reversion and defined again with version 5.2.
ADACNV REVERT TOVERS=53
The Adabas version of the last run of the nucleus is to be converted back (reverted) to a version 5.3 Adabas database.