-870   THE NUMBER OF HOST VARIABLES IN THE STATEMENT IS NOT EQUAL TO THE NUMBER OF DESCRIPTORS

Explanation

The number of host variables in the SQL statement does not match the number of host variable descriptors.

System action

The statement cannot be processed.

Programmer response

Correct the application program. The most likely cause of this problem is a missing colon before a host variable.

Problem determination

If the SQL statement is bound locally, descriptors are built by the DB2® precompiler. For a remote SQL statement, descriptors are built by DDF and are passed in the array SQLSTTVRB.

SQLSTATE

58026