M204.0563

From m204wiki
Revision as of 04:58, 25 February 2018 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

M204.0563  Arithmetic overflow

A value to be stored in a fixed decimal field is greater than the maximum field size. This can result from arithmetic operations using fixed decimal numbers or from moving too large a number into a fixed decimal field.

The largest number that can be stored is approximately 9 * 1018. Note that each decimal place defined for a fixed decimal number reduces the maximum size of the number by a power of 10. For example, if a field is defined with 11 decimal places, the maximum number that can be stored in the field is 9 * 107, or 90000000.

Response: Correct the field definition to accommodate the largest values. It may be appropriate to use floating point variables if very large numbers occur.

Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter

Back to list of messages