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

SQLCODE -305

Null value without indicator

Explanation

NULL value retrieved but no indicator variable specified.

Solution

Add indicator variable: SELECT COL INTO :VAR:IND FROM TABLE.

Example

SELECT NULLABLE_COL INTO :WS-VAR FROM TABLE -- Add :WS-IND