Step 6 Prefix Update

The prefix update step updates the logical child records in the CA IDMS/DB database with the prefixes (concatenated keys) generated by the prefix resolution step (Step 4). For input, it uses the hierarchically sorted workfile from Step 5. After updating the logical child database records with the correct prefixes, it writes them back to the database and connects them to their logical parents within the CA IDMS/DB sets.
idms
The prefix update step updates the logical child records in the CA IDMS/DB database with the prefixes (concatenated keys) generated by the prefix resolution step (Step 4). For input, it uses the hierarchically sorted workfile from Step 5. After updating the logical child database records with the correct prefixes, it writes them back to the database and connects them to their logical parents within the CA IDMS/DB sets.
Prefix update (step 6) completes the database load for logically related databases.
2
2
Operation
The prefix update step performs the following operations:
  1. Accessing the IPSB load module
  2. Accessing the hierarchically sorted workfile from Step 5
  3. Obtaining the already loaded logical child records from the CA IDMS/DB database
  4. Moving the prefix (logical parent concatenated key) from each workfile record into the corresponding database record
  5. Writing the updated logical child records back to the database
  6. Connecting each logical child database record with its related logical parent database record (that is, establish correct set pointers)
  7. Producing a report showing the results of the processing
To execute the prefix update step, use the JCL in CA IDMS DLI Transparency JCL. The following diagram shows a prefix update:
IDMSDB--Operation (6)
Report
The report produced by the prefix update step lists:
  • The DBDNAME for the DL/I logical child database
  • The name and level for each DL/I logical child segment
  • The number of logical child records found and processed
Following is an example of a prefix update report:
     *** CA IDMS/DLI TRANSPARENCY DATABASE LOAD          PROCESS=PFXU          DBDNAME=ITEMDBDL          SEGMENT COUNT LEVEL RECORD      LC  DETAIL  3542   02   DETAIL          TOTAL:  3542  RECORDS READ      *** PFXU PROCESSING COMPLETE