Data Definition Language (DDL) Reference Manual
DDL Messages
Data Definition Language (DDL) Reference Manual—529431-004
A-10
Recovery. Correct the error and recompile. For more information about computational
items, see USAGE on page 6-71.
Cause. The data type of the referenced item identified by element_name is
described with a USAGE IS COMP clause but is not a computational data type.
Effect. The DDL compiler rejects the object.
Recovery. Correct the error and recompile. For more information about computational
items, see USAGE on page 6-71.
Cause. The data type of an item described with a USAGE IS COMP-3,
COMPUTATIONAL-3, or PACKED-DECIMAL clause is not PACKED-DECIMAL.
Effect. The DDL compiler rejects the object. For example:
!def emp pic x PACKED-DECIMAL.
^
*** ERROR *** COMP-3 data item must be of the form PIC [S]9(n)[V9(n)]
Last diagnostic on page 1
*** WARNING *** Errors detected - no output produced for EMP
!
Recovery. Correct the error and recompile.
Cause. The data type of the item identified as element_name is described with a
USAGE IS COMP-3, COMPUTATIONAL-3, or PACKED-DECIMAL clause but is not a
PACKED-DECIMAL item.
Effect. The DDL compiler rejects the object. For example:
!def emp1 pic 9(5).
Definition EMP1 size is 5 bytes.
Definition EMP1 added to dictionary.
!def emp2.
!02 fld2 type emp1 comp-3.
*** ERROR *** COMP-3 specified with reference item which is not COMP-3 - FLD2
!
Recovery. Correct the error and recompile.
***ERROR*** COMP specified with reference item which is not
COMP- element_name
***ERROR*** COMP-3 data item must be of the form PIC
[S]9(n)[V9(n)]
***ERROR*** COMP-3 specified with reference item which is not
COMP-3 - element_name