Data Definition Language (DDL) Reference Manual

DDL Messages
Data Definition Language (DDL) Reference Manual529431-004
A-31
Cause. A field whose definition or description includes a USAGE IS INDEX clause is
not 2 or 4 bytes, is not a single field, or is not a computational item.
Effect. The DDL compiler rejects the field or the object that includes the field.
Recovery. Remove the USAGE IS INDEX clause, or change the field definition to
meet the requirements for using this clause, and recompile the object.
Cause. A field described with the USAGE IS INDEX clause is the wrong size for
COBOL output.
Effect. The DDL compiler does not produce the requested output for the object.
Recovery. Change the size of the index field, specify an index field of the correct size,
or request the output appropriate for the field size.
Cause. A definition or record description includes an INDEXED BY attribute without an
OCCURS or OCCURS DEPENDING ON clause.
Effect. The DDL compiler rejects the object.
Recovery. Add an OCCURS or OCCURS DEPENDING ON clause, or remove the
INDEXED BY attribute, and recompile the object.
Cause. An initial value for a group exceeds the combined size of the fields within the
group.
Effect. The DDL compiler rejects the object.
Recovery. Change the initial value or the combined field size and recompile.
Cause. An initial value for a field is outside the range specified for that field in a MUST
BE clause.
***ERROR*** INDEX must be a 1 or 2 word single item and
computational
***WARNING*** INDEX must be 1 word for COBOL 74 and 2 words
for COBOL85- index-name
***ERROR*** INDEXED BY is invalid without OCCURS clause-
object-name
***ERROR*** Initial VALUE exceeds size of group name
***ERROR*** Initial VALUE violates MUST BE constraint