Hi,
I'm in V7.1 and Zend Server 5.6 and I have a problem to retrieve the new type of column XML.
I search to retrieve a result set with PHP after calling a stored procedure. It's work fine with a stored procedure who not returned XML column but when XML column is present, I don't have result...
My PHP code :
$cpro = db2_prepare($cnx,"CALL TEST_OMNI.SEARCH( ? , ? ) ");
$BIB="PHPSPL_IDX";
$SEARCH="ANANAS";
db2_bind_param($cpro, 1, 'BIB', DB2_PARAM_IN);
db2_bind_param($cpro, 2, 'SEARCH', DB2_PARAM_IN);
if (db2_execute($cpro)) {
while ($row = db2_fetch_object($cpro)) {
echo "{$row[0]}, {$row[1]}, {$row[2]}, {$row[3]}
";
}
}else {
echo "ERR";
}
The stored procedure SEARCH is a stored procedure of OMNIFIND. The same call in Iseries Navigator works fine.
Any idea ?
DUMAS Gautier

