ADADCK checks the Data Storage and the Data Storage space table (DSST) of a specific file (or files) in the database.
ADADCK reads each used Data Storage block (according to the Data Storage extents in the file control block) and performs the following checks:
Is the block length within the permitted range? (4 block length physical block size)
Is the sum of the length of all records in the Data Storage block plus 4 equal the block length?
Is there any record with a record length greater than the maximum compressed record length for the file or with a length 0?
Are there any duplicate ISNs within one block?
Does the associated DSST element contain the correct value? If not, a REPAIR of the DSST is necessary (see REPAIR parameter).
Notes:
ADADCK returns a condition code 4 or 8 if an error occurs.