set rc ""catch {odbc SQLAllocHandle SQL_HANDLE_STMT $hdbc hstmt} rcif { $rc != "SQL_SUCCESS"] } {gc_dbHandleODBCError "SQLAllocHandle ($rc)" $henv $hdbc $hstmt}