Version 7.4.4
 —  Utilities  —

REVERT: Revert Database to Lower Version

The REVERT function starts from the Adabas version of the last nucleus session.

graphics/util_adacnv_revert.png

This document covers the following topics:


Essential Parameter and Subparameter

TOVERS: Target Version

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.

Top of page

Optional Parameter

IGNPPT: Ignore Parallel Participant Table PLOG Entries

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.

NOUSERABEND: Termination Without Abend

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: Multiple PLOG Device Type

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.

RESTART: Rerun after Point of No Return

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.

TEST: Test Conversion

The TEST parameter tests the feasibility of the reversion operation without actually writing any changes to the database.

Top of page

Reversion Considerations

The following is an overview of the reversion steps performed by ADACNV.

All Versions
From Version 7.4 to 7.2 or 7.1
From Version 7.1 to 6.2
From Version 6.2 to 6.1
From Version 6.1 to 5.3
From Version 5.3 to 5.2

Top of page

Example

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.

Top of page