Generating ADS dialog, receives error ?RECORD CONTAINS CRITICAL ERRORS? but display in IDD only has DC601125/DC601126/DC601127 warnings and no critical errors. Why the discrepancy?

Document ID : KB000032472
Last Modified Date : 14/02/2018
Show Technical Document Details

 

Question:

 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?

 

Answer:

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, like 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:

CA ADS for CA IDMS ADS Reference Guide, Chapter 3: CA ADS Dialog Compiler (ADSC).

CA IDMS IDD DDDL Reference Guide, Chapter 5: Entity-Type Syntax

CA IDMS Messages and Codes Volume 3, Chapter 5: CA IDMS/DC Messages DC530001 – DC601168