Developing Portable Applications : Achieving Transparency and Portability : Supported Gateway Statements : ODBC Statements
 
Share this page                  
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.