Use the DSCHECK function to print and dump the content of the Data Storage records in a file.
If you are running Adabas 8 or later, primary and secondary ISNs are identified in the output from an ADAICK DSCHECK run, if spanned Data Storage records are in use.
This document covers the following topics:
The number of the file for which the record is to be printed/dumped. A file number is required the first time you execute ADAICK.
If FILE is omitted on subsequent executions, the last file accessed by ADAICK is used.
The ISN of the Data Storage record to be printed. If ISN is omitted, the DSCHECK function prints the last ISN plus 1.
If the Data Storage record is a spanned record, be sure to specify the primary ISN of the spanned record, not a secondary ISN of the spanned record. ADAICK utility processing assumes all specified ISNs are primary ISNs; secondary ISNs will automatically be processed.
When starting, ADAICK normally performs a utility open call to the nucleus to assure that no blocks of the affected file or files are still in the nucleus buffer pool. However, this also locks the file for other users. Specifying NOOPEN prevents ADAICK from issuing the open call.
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.
Here is a sample of the output produced from an ADAICK DSCHECK run for an Adabas 8 database that makes use of spanned records. Note that the primary and secondary spanned record ISNs are identified in the report.
000001D9 0004 0000 LEN 130D AB IS THE LAST FIELD IN THE RECORD 000001D9 000001D9 000A 0006 ISN 00000001 Primary ISN=1 000001D9 000E 000A FLAGS 0081 000001D9 0010 000C Next ISN 00000001 000001D9 0014 0010 Primary 00000001 000001DA 0004 0000 LEN 1303 BA IS THE LAST FIELD IN THE RECORD 000001DA 000001DA 000A 0006 AC2 ISN 00000001 AC2 ISN=1 000001DA 000E 000A FLAGS 0041 000001DA 0010 000C Next ISN 00000002 000001DA 0014 0010 Primary 00000001