Executing an SQL query on a DB2 DB containing variables provokes the following error:
ERROR [07004] [IBM][DB2/LINUXX8664] SQL0313N "Le nombre de variables dans l'instruction EXECUTE, le nombre de variables dans l'instruction OPEN ou le nombre d'arguments dans une instruction OPEN pour un curseur paramétré n'est pas égal au nombre de valeurs requis."
"The number of variables in the EXECUTE statement, the number of variables in the OPEN statement, or the number of arguments in an OPEN statement for a parameterized cursor is not equal to the number of values required."