ADAULD unloads the records in the specified sequence. The unloaded records are written to one or both of two sequential data sets: DD/OUT1 and DD/OUT2. Writing to these output data sets is controlled by user exit 9.
The records output are identical in format to the output produced by the ADACMP utility unless the MODE=SHORT option is used, in which case the descriptor entries required for the normal index and upper index are omitted and the descriptor information is removed from the Adabas FDT. The ISN of the record immediately precedes the compressed data record, and is provided as a four-byte binary number.
Specifying the DDISN parameter instructs ADAULD to write the list of unloaded ISNs to a sequential output file DD/ISN. Only one DD/ISN file is created, containing the superset of ISNs written to either or both of DD/OUT1 and DD/OUT2. ISNs that are rejected by user exit 9 are not written to DD/ISN.
DD/ISN is structured so that it can be used as input to ADALOD UPDATE for the purpose of deleting the unloaded records.
The number of ISNs written to DD/ISN is displayed in the ADAULD statistics on the DD/DRUCK utility protocol:
A D A U L D Statistics ----------------------- Number of Output Data Sets = 1 Number of Requested Records = 16777215 STARTISN = 0 Options = DVT Unload Sequence = PHYS SEQ Number of Records Read = 307 Number of Records Written = 307 Number of Record Segments Read = 777 Number of Record Segments Written = 777 Records Written to DDOUT1 = 307 Records Written to DDOUT2 = 0 Records Rejected by USEREXIT-9 = 0 Number of ISNS Written to DDISN = 307 |
If the DDISN parameter is specified, the number of ISNs written to DD/ISN should always be the number of records read minus the number of records rejected by user exit 9.
The ISNs on the DD/ISN file are ISNs as visible to applications; that is, the internal ISN as stored in a Data Storage record plus MINISN-1.