-419   THE DECIMAL DIVIDE OPERATION IS INVALID BECAUSE THE RESULT WOULD HAVE A NEGATIVE SCALE

Explanation

The decimal division is invalid because it will result in a negative scale.

System action

The statement cannot be processed. No data was retrieved, updated, or deleted.

Programmer response

Examine the precision and scale of all columns that might have participated in a decimal division. Note that an integer or small integer value might have been converted to decimal for this calculation.

A YES value for the DECDIV3 subsystem parameter specifies that the scale of the result of a decimal division is never less than 3.

SQLSTATE

42911