ODBC Statements
A DIRECT EXECUTE IMMEDIATE statement can return a status message or completion code, but cannot return data to the calling program. As a result, only DB2 UDB statements that do not return data can be used with a DIRECT EXECUTE IMMEDIATE statement.
Note: You must execute all ODBC host utilities directly on the host operating system because they are not available through the gateway.