COBOL · DB2 SQLCODE
What does SQLCODE -811 mean in COBOL?
Multiple rows returned by a singleton SELECT. A SELECT INTO statement, which expects exactly one row, returned more than one row.
Multiple rows returned by a singleton SELECT. A SELECT INTO statement, which expects exactly one row, returned more than one row.
Check the WHERE clause for a condition that is not actually unique, or switch to a cursor-based FETCH loop if returning more than one row is a legitimate possibility.