Step 2 Database Load

Using the unloaded DL/I data as input, database load processing invokes the CA IDMS DLI Transparency region controller and populates the CA IDMS/DB database with the unloaded DL/I data.
idms
 
Using the unloaded DL/I data as input, database load processing invokes the CA IDMS DLI Transparency region controller and populates the CA IDMS/DB database with the unloaded DL/I data. If you have CALC processed and, optionally, sorted the DL/I data, you must input the DL/I file produced as a result of Step 1.
The Database Load, Step 2, completes the database load for DL/I data that does not contain logical relationships. If the DL/I data involves logically related databases, you must continue with Steps 3 through 6.
2
2
Operation
Database load processing performs the following operations:
  1. Accessing the IPSB load module
  2. Reading the DL/I input data
  3. Storing all records in the CA IDMS/DB database
  4. Extracting all logical child records and writing them out to the logical workfile
  5. Extracting all logical parent records and writing them out to the logical workfile
  6. Printing a report showing the results of the load
To execute the database load step, use the JCL in CA IDMS DLI Transparency JCL. Following is a diagram of database load processing.
IDMSDB--Operation (2)
Report
The report produced by the database load step lists:
  • The DBDNAME for each DL/I database included in the input DL/I data
  • The name and level for each DL/I segment, by database
  • An indication if a segment is a logical child (LC) or logical parent (LP)
  • The number of segment occurrences (records) loaded, by database
  • The number of logical records found, by database
  • The number of logical records, by database, written out to the logical workfile
Following is a database load report:
     *** CA IDMS/DLI TRANSPARENCY DATABASE LOAD          PROCESS=LOAD          DBDNAME=ITEMDBDL          SEGMENT COUNT LEVEL RECORD          ITEM     1086  01   ITEM      LC  DETAIL   3542  02   DETAIL          TOTAL:   4628  RECORDS LOADED                   3542  LOGICAL RECORDS                   3542  LOGICAL RECORDS WRITTEN      *** LOAD PROCESSING COMPLETE      ___________________________________________________________________      *** CA IDMS/DLI TRANSPARENCY DATABASE LOAD          PROCESS=LOAD          DBDNAME=PARTDBDL          SEGMENT COUNT LEVEL RECORD      LP  PART    789    01   PART          TOTAL:  789   RECORDS LOADED                  789   LOGICAL RECORDS                  789   LOGICAL RECORDS WRITTEN      *** LOAD PROCESSING COMPLETE
Figure 64. Sample database load report