Hi,
well, i have all of my statements sitting in a snapshot table, so i generate a text file with all this statements (ie. dyn_sql.txt).
later, from db2 console (under linux ) i execute this:
set current explain mode explain
db2 –tf dyn_sql.txt
and my problem is that obtain this message error for each statement that contains "bind variables"
"SQL0313N The number of host variables in the EXECUTE or OPEN statement is not equal to the number of values required. SQLSTATE=07004"
How can i resolve this error message?
thx in advance
p/d: sorry for my english