COBOL Manual for TNS and TNS/R Programs
Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
47-64
Message List
327 (Error)
Cause. The receiving operand cannot be assigned a value derived from the sending
operand; for example:
•
SPACE (or one of its equivalents), an alphabetic data item, or an alphanumeric-
edited data item cannot be assigned to a numeric or numeric-edited data item.
•
ZERO (or one of its equivalents), a numeric literal, a numeric data item, or a
numeric-edited data item cannot be assigned to an alphabetic data item.
This message usually results from a MOVE statement. It can also result from
statements whose execution includes assignment operations that follow MOVE
statement rules.
328 (Error)
Cause. The attributes of the receiving operand do not permit assigning it a value
derived from the sending operand; for example:
•
A numeric data item is being set to the value of a nonnumeric literal, nonnumeric
data item, or index data item.
•
An index data item is being set to the value of a nonnumeric literal or nonnumeric
data item.
•
A data item other than an index-name is being set UP or DOWN.
•
A data item other than a mnemonic-name associated with an external switch is
being set ON or OFF.
•
A data item other than a condition-name associated with a data item is being set to
TRUE or FALSE.
329 (Error)
Cause. One of:
•
The replaced and replacing operands have incompatible sizes. When replacing
CHARACTERS or a figurative constant, the size of the replacing operand must be
one character. When replacing a numeric or nonnumeric literal or a data item, the
size of the replacing operand must be the same as that of the replaced operand.
•
The CONVERTING phrase operands are not the same size.
Receiving category not compatible with sending category
Receiving operand not compatible with sending operand
INSPECT operand sizes not compatible