Version 8.1.4
 —  Utilities  —

Functional Overview

ADAACK checks the address converter for a specific file or range of files or for a specific ISN or range of ISNs. If spanned records are in use, ADAACK assumes any ISNs passed to it are primary ISNs, and performs its processing accordingly. The ranges can encompass all files or all ISNs. ADAACK is used in conjunction with ADAICK.

If the file being checked has spanned records enabled, the secondary address converter, used to map the secondary ISNs to the RABNs of the secondary records, will automatically be checked as well. For more information about spanned records, read Spanned Records.

ADAACK checks each address converter element to determine whether the Data Storage RABN is within the used portion of the Data Storage extents specified in the file control block (FCB).

ADAACK checks the ISN for each record in each Data Storage block (within the specified ISN range) to ensure that the address converter element for that ISN contains the correct Data Storage RABN. This is done in the following way:

  1. Main memory is allocated for the specified range of ISNs (number of ISNs, times 4). If no range is specified, the entire range (MINISN through TOPISN) is checked.

    The address converter is read from the database into this area in memory.

  2. Each used Data Storage block (according to the Data Storage extents in the FCB) is read and checked against the address converter in memory. Each ISN in the address converter must have exactly one associated Data Storage record.

  3. The address converter in memory is checked for ISNs that did not occur in Data Storage.

For large files, ADAACK may run for a long time. ADAACK prints a message line after every 20 Data Storage blocks processed.

Run time is not affected by the ISN range, since all used Data Storage blocks are read.

Notes:

  1. ADAACK does not require the Adabas nucleus to be active.
  2. A pending autorestart condition is ignored.
  3. If the nucleus is active, ADAACK synchronizes its operation with the active nucleus unless the NOOPEN parameter is specified.
  4. This utility should be used only for diagnostic purposes.

ADAACK returns a condition code 8 if any errors occur.

Top of page