I faced unexpected problems while trying to execute IBM DB2 stored
procedures from PHP4. Procedures include only in-type parameters and they do
work fine when executed from command line. When adding  {} around the
callable statement, the procedure seemed to work but I got an error message:

Warning: SQL error: [IBM][CLI Driver][DB2/LINUX] SQL0171N The data type,
length or value of argument "6" of routine "PROCEDURE_NAME" is incorrect

after checking the parameters I found them to be correct. I wonder if anyone
else have had this kind of problems with DB2? I would appreciate of getting
help in this case.


Jani Laakso

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to