Hi, how can i call a DB2 stored procedured (written in cobol) from a PHP script?
My stored procedure has only one statement :
'exec sql open cur1 end-exec' and i have no one parameters to pass.
i tried something like that :

$dbConnection=odbc_connect($dsn, $usr, $pwd) or
die (odbc_errormsg());

$stmt = odbc_prepare($dbConnection, "{call procedurename}");
if (!$stmt) {echo "errore sql, odbc_prepare";}

This has no result... if i write {call zxcdsa}, it's the same thing....

please help me... i have found nothing like my problem in internet