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

SQLCODE -404

UPDATE/INSERT string too long

Explanation

String value is longer than target column length.

Solution

Truncate string before insert, increase column size, or validate input length.

Example

INSERT VALUE "very long string" INTO CHAR(5) column