RECORD CONTAINS CRITICAL ERRORS generating an ADS dialog
search cancel

RECORD CONTAINS CRITICAL ERRORS generating an ADS dialog

book

Article ID: 32472

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

When generating a dialog using ADSC, a work record contains error "RECORD CONTAINS CRITICAL ERRORS", however a display of the record in IDD only contains DC601125/DC601126/DC601127 warnings and no critical or serious errors. Why the discrepancy?

Environment

Release: All supported releases.
Component: ADS.

Resolution

Whenever a record in IDD contains the error message:

RECORD CONTAINS CRITICAL ERRORS

search for additional warning messages. Display the record as syntax and with COBOL to find the cause for the RECORD CONTAINS CRITICAL ERRORS message.

DIS RECORD record-name AS SYN WITH COBOL

In this case, the record also contained DC601127, DC601125 and DC601126 warning messages:

DC601127 VALUE CLAUSE SPECIFIED FOR RECORD ELEMENT FIL 0010
DC601127 WITH OR UNDER AN OCCURS

DC601125 RECORD ELEMENT FILLER REDEFINES A RECORD ELEMENT CONTAINING AN OCCURS CLAUSE
DC601125 RECORD ELEMENT record-name REDEFINES A RECORD ELEMENT CONTAINING AN OCCURS CLAUSE

DC601126 LENGTH OF RECORD ELEMENT record-name EXCEEDS LENGTH OF REDEFINED RECORD ELEMENT

The IDD record is flagged as containing Critical Errors only for certain types of compilers, such as the Mapping or Schema Compilers and not when using the COBOL compiler. Although the DC601125/DC601126 are warning messages and not critical or serious errors, they indicate an error in the record definition and therefore they should be corrected before attempting to generate ADS dialog.

Additional Information