COBCH1867 ROUNDED not allowed with operands of this type

The program contains a ROUNDED phrase used as a target of an inappropriate type, for example, a target defined as of type decimal.

Resolution:

Correct the code; then recompile.

Example:

In the following example, the ROUNDED phrase is used for a target defined as a decimal.

       01 d1 decimal.

           compute d1 rounded = 4 / 3
           display d1