> Using ODBC should be fine; what problems are you having with input/output > parameters? I have a stored procedure like this: CREATE PROCEDURE ADMINISTRATOR.Proc2 (IN idc INT,OUT max int) ..... P1: BEGIN SET max = 22; END P1
And I try to call it like this: $ps = "CALL ADMINISTRATOR.PROC2(2,?)"; $result = odbc_prepare($link,$ps); $arrparam = array(1); $rst = odbc_execute($result, $arrparam); echo $arrparam[0]; and no luck. > Also, what ODBC drivers are you using? IBM DB2 ODBC DRIVER 7.01.00.40 I appreciate any suggestion. Rares -- PHP General 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]