Database extract function (online conversation)
The Data Base Extract function consists of an online conversation and a batch job stream. The online screens prompt you for the information needed to submit the batch job to do the actual extract.
The online conversation consists of a sequence of screens where you are prompted to do the following:
- Specify the PSB containing the PCBs to be used to access the FROM database (for static PSB only).
- Specify the DBD for the extract FROM database, the job type of the extract job, and the optional use of an external KEY value.
- Specify whether secondary indexing should be used to drive extract processing.
- Specify the use of an application relationship to extract records from application-related databases.
- Specify the use of selection criteria to limit the extract to certain segment types or occurrences.
- Specify the data set names for the extract FROM database.
- Specify whether to disguise the extracted data and which disguise option to use.
- Specify the data set name of the extract TO file, its attributes, and the extract job JCL information.
- Optionally edit the JCL generated by File-AID for IMS/ISPF to perform the extract.
The batch job consists of the following steps:
- SRTGEN1 - Allocate and initialize temporary data set to-data set-name.CK.
- SRTGEN2 - Allocate and initialize temporary data set to-data set-name.XK.
- SRTGEN3 - Allocate and initialize temporary data set to-data set-name.RK.
- SRTKEY - (Optional) sort key file used to drive extract.
DBEXTRCT - Data Base Extract (XIXDTFDV)
Retrieves segments from the extract FROM database, applies selection criteria (if specified), applies application relationships (if specified), and writes the segment data, along with File-AID for IMS/ISPF prefix information, to the extract TO file.
- DELETE - Deletes temporary data sets allocated in steps 1-3.
- RPTSTATS - Data Base Extract Summary Reporting (XIXRPTDV)
Writes a report that summarizes the results of the extract. - RFMT - Reformat the extracted data in preparation for disguise.
- DISG - Disguise the extracted data.
This section provides information about the following topics:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*