Warning: The REPAIR function can cause data loss if not used correctly. It should only be used with guidance from your Software AG technical support representative. |
The REPAIR function may be used to repair one or more Data Storage blocks, using the protection log and the output of the ADASAV utility.
Notes:
This document covers the following topics:
DSRABN specifies one or more Data Storage RABNs to be repaired. Either a single RABN or a range of RABNs (for example, 1000-1234) can be specified.
FILE locks one or more files so that they cannot be read or updated by any user during REPAIR execution. Only the files specified are locked for the exclusive use of ADARES REPAIR. Files not included in the list remain available to other users of the database. If FILE is not specified, the entire database is locked; the user queue must be empty.
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.
The TEST parameter tests the operation syntax without actually performing the operation. Only the syntax of the specified parameters can be tested; not the validity of values and variables.
ADARES REPAIR DSRABN=1434,FILE=20
Repair Data Storage block 1434. Only file 20 is locked during file processing.
ADARES REPAIR DSRABN=1462-2543
Repair Data Storage blocks 1462 through 2543.