Code I am trying to run:
$query = \"DESCRIBE TABLE TABLENAME\"; $result = odbc_exec($h, $query);
The result:
PHP War
This statement can only be embedded in an application program. It is an executable statement that cannot be dynamically prepared. It must not be specified in Java.
From the iSeries DB2 SQL Reference.