Database load reports
After the load job is submitted and executed, several reports can be produced. Some of the reports are generated by File-AID for IMS/ISPF, while others are from utility programs. Data Base Load Exception Report through Data Base Load Report - Related Data Base Summary (Part 2) show the File-AID for IMS reports that can be generated. Not all reports are produced every time.
Data Base Load Exception Report
The first report, shown in the following figure, is the Data Base Load Exception Report. In this report, error messages that describe problems that File-AID for IMS encountered during the load process are written. The concatenated key for the segment that is in error is shown below the error message, if applicable. If there were no errors during the load process, this report is omitted.
Data Base Load Exception Report
FROM: CW.FISAMP.UNLOAD EXCEPTION REPORT DATE 2014-10-17
TO: CW.FISAMP.PORDRDD1 TIME 12:47:75
TO: CW.FISAMP.PORDRDD1 TIME 12:47:75
ERROR MESSAGE/
CONCATENATED KEY DBD SEGMENT LEVEL
----------------------------------------------------------------------------------------------------------- -------- -------- -----
X908 UNABLE TO INSERT SEGMENT - STATUS CODE = II PORDR ORDR010 1
CONCAT KEY: AA4444
CCFFFF
114444
X908 UNABLE TO INSERT SEGMENT - STATUS CODE = II PORDR ORDR020 2
CONCAT KEY: AA444401
CCFFFFFF
11444401
X908 UNABLE TO INSERT SEGMENT - STATUS CODE = II PORDR ORDR030 3
CONCAT KEY: AA44440101
CCFFFFFFFF
1144440101
**** E N D O F R E P O R T ****
Data Base Load Report
The second report is the Data Base Load Report. It consists of the following parts:
- Data Base Dataset Summary (Data Base Load Report - Data Base Dataset Summary)
- Primary Data Base Summary (Data Base Load Report - Primary Data Base Summary)
- Related Data Base Summary (Data Base Load Report - Related Data Base Summary (Part 1) and Data Base Load Report - Related Data Base Summary (Part 2))
Data Base Dataset Summary
The top section of the Data Base Dataset Summary shows the FROM extract file name, the TO DBD dataset and member names, the load job type, and update mode. The bottom section shows all the databases with their associated ddnames and dataset names. This section is similar to the layout of the Data Base Load - Data Base Dataset Specification screen.
Data Base Load Report - Data Base Dataset Summary
AID for IMS 23.1 DATA BASE LOAD REPORT PAGE 1
FROM: CW.FISAMP.UNLOAD
SUMMARY INFORMATION DATE 2014-10-17
TO: CW.FISAMP.PORDR TIME 1
2:04:39
"DBRC" RECON1 DATASET:---DBRC IS NOT IN USE---
"FROM" EXTRACT FILE: CW.FISAMP.UNLOAD
"TO" DBD DATASET: CW.FISAMP.DBDLIB MEMBER: PORDR
PSB DATASET: CW.FISAMP.PSBLIB MEMBER: DEMOPSB1
LOAD JOB TYPE: DLI
PROCESSING OPTION: UPDATE
DATA BASE DATASET(S)
DBD DDNAME DATASET NAME ALLOCATION DISP DBRC REGISTRATION SHR-LEV
------- -------- -------------------------------------- ----------- ----- ------------------- -------
PORDR PORDRDD CW.FISAMP.PORDR DYNAMIC OLD DBRC NOT ACTIVE N
PCUST PCUSTDD CW.FISAMP.PCUST DYNAMIC OLD DBRC NOT ACTIVE N
PPART PPARTDD CW.FISAMP.PPART DYNAMIC OLD DBRC NOT ACTIVE N
Primary Data Base Summary
The Primary Data Base Summary (see the following figure) shows a count of the records read from the load FROM file, the segments loaded into the primary database, and the segments that were not loaded because of an error. The counts are shown by segment name, with the level and segment hierarchy shown to the left of the segment name. Informational messages that pertain to segment types are shown to the right of the Exception Segments column. Column totals are shown at the bottom of the page.
Data Base Load Report - Primary Data Base Summary
FROM: CW.FISAMP.UNLOAD SUMMARY INFORMATION DATE 2014-10-17
TO: CW.FISAMP.PORDR TIME 12:04:39
PRIMARY DATA BASE
SOURCE RECORDS SEGMENTS EXCEPTION
LEVEL SEGMENT READ LOADED SEGMENTS
--------------- -------- ----------- ----------- -----------
1 DBD-PORDR ORDR010 3 3 0
2 ORDR020 8 8 0
3 ORDR030 10 10 0
2 ORDR040 3 3 0
2 ORDR050 7 7 0
--------- --------- ---------
TOTALS 31 31 0
Related Data Base Summary
The Related Data Base Summary (Data Base Load Report - Related Data Base Summary (Part 1) and Data Base Load Report - Related Data Base Summary (Part 2)) shows information about each database related to the primary database. If there are no databases related to the primary database, this part of the report is omitted. Counts of the records read from the load FROM file, the number of segments loaded into the related database to resolve logical and application relationships, and the number of segments not loaded because of an error are shown. Informational messages that pertain to segment types are shown to the right of the Exception Segments column. Column totals are shown at the bottom of the page.
There are four informational messages that can appear on the Primary and Related Data Base Summary reports to the right of the Exception Segments column. Following are the possible messages:
SEGMENT PADDED/TRUNCATED
At least one segment occurrence of this segment type was padded with blanks or truncated. This action was taken because the segment length indicated on the load FROM file record was not valid for the segment in the DBD used for the load.
LCHILD SEG x USED FOR LOAD
Segment type x, which is logically paired with this segment type, was used during the load to establish the logical relationship. File-AID for IMS/ISPF chose segment type x based on the rules explained in Advanced Topics.
LCHILD MAY LINK TO 1ST LOG. PARENT
This segment type may have been linked to the first occurrence of its logical parent segment type and not to the logical parent occurrence where it was originally linked. This is possible because the logical parent did not have a unique concatenated key.
SOME LCHILD NOT ISRTD, NO LOG. PAR
At least one logical child segment that File-AID for IMS/ISPF attempted to insert did not have a logical parent on the database. This occurs when selection criteria was used by the Extract function to limit the number of logical relationships chased. The Exception Segment count is incremented for each logical child segment that was not inserted because of this condition.
Data Base Load Report - Related Data Base Summary (Part 1)
FROM: CW.FISAMP.UNLOAD SUMMARY INFORMATION DATE 2014-10-17
TO: CW.FISAMP.PORDR TIME 12:04:39
RELATED DATA BASE
SOURCE RECORDS SEGMENTS EXCEPTION
LEVEL SEGMENT READ LOADED SEGMENTS
--------------- -------- ----------- ----------- -----------
1 DBD-PCUST CUST010 3 3 0
2 CUST020 6 6 0
3 VORDR050 7 0 0 LCHILD SEG ORDR050 USED FOR LOAD
--------- --------- ---------
TOTALS 16 9 0
Data Base Load Report - Related Data Base Summary (Part 2)
FROM: CW.FISAMP.UNLOAD SUMMARY INFORMATION DATE 2014-10-17
TO: CW.FISAMP.PORDR TIME 12:04:39
RELATED DATA BASE
SOURCE RECORDS SEGMENTS EXCEPTION
LEVEL SEGMENT READ LOADED SEGMENTS
--------------- -------- ----------- ----------- -----------
1 DBD-PPART PART010 1 1 0
2 PART020 0 0 0
--------- --------- ---------
TOTALS 1 1 0
**** E N D O F R E P O R T ****