Master Mainframe Technologies - COBOL, JCL, DB2, VSAM, CICS & More
ABEND Codes SQLCODEs File Status Interview Prep Contact
← Back to SQLCODE Reference
Error

SQLCODE -401

Arithmetic overflow

Explanation

Numeric value exceeds the range of the target data type.

Solution

Use larger data type, check calculation results, handle overflow in application.

Example

COMPUTE WS-RESULT = 99999999 * 99999999