The ISNREUSE function controls whether ISNs of deleted records may be reassigned to new records.
This document covers the following topics:
FILE is the number of the file for which the ISNREUSE setting is to be changed. The checkpoint file cannot be specified.
MODE causes the ISN reuse mode to be in effect. MODE=OFF causes Adabas not to reuse the ISN of a deleted record for a new record. Each new record will be assigned the next higher unused ISN. MODE=ON indicates that Adabas may reuse the ISN of a deleted record. The MODE parameter has no default; it must be specified.
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.
PASSWORD specifies the file's security password, and is required if the file is password-protected.
The RESET parameter causes searches for an unused ISN to start at the beginning of the file.
The TEST parameter tests the operation syntax without actually performing the operation. Note that the validity of values and variables cannot be tested: only the syntax of the specified parameters can be tested. See Syntax Checking with the TEST Parameter for more information on using the TEST parameter in ADADBS functions.
ISNs of deleted records in file 7 may be reassigned to new records.
ADADBS ISNREUSE FILE=7,MODE=ON