-309   A PREDICATE IS INVALID BECAUSE A REFERENCED HOST VARIABLE HAS THE NULL VALUE

Explanation

The statement could not be processed because a host variable appearing in a predicate such as
column-name = host-variable
had the NULL value. Such a predicate is not permitted when the host variable contains the NULL value even though the object column might contain nulls.

System action

The statement cannot be processed.

Programmer response

Rebind the plan or package containing the statement. The condition described is not an error in Version 2 Release 3 and later DB2® releases.

SQLSTATE

22512