Error Driver Does Not Support This Function {IM001} When Selecting From SQL Server Table Using DG4ODBC
(Doc ID 2100796.1)
Last updated on MAY 11, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Goal
Using the Database Gateway for ODBC (DG4ODBC) 11.2.0.4 with the FreeTDS ODBC driver and UnixODBC 2.2.11-7.1 driver manager the following error is received -
SQL> select * from all_programs@dg4odbc;
select * from all_programs@dg4odbc
*
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver does not support this function {IM001}
ORA-02063: preceding 2 lines from DG4ODBC
select * from all_programs@dg4odbc
*
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver does not support this function {IM001}
ORA-02063: preceding 2 lines from DG4ODBC
The ODBC driver trace shows the following -
[ODBC][6262][SQLSetStmtAttrW.c][231]Error: IM001
[ODBC][6262][SQLGetDiagRecW.c][540]
Entry:
Statement = 0x1f41fda0
Rec Number = 1
SQLState = 0x7ffffdcf3da0
Native = 0x7ffffdcf3b94
Message Text = 0x1f45bdd8
Buffer Length = 510
Text Len Ptr = 0x7ffffdcf3df0
[ODBC][6262][SQLGetDiagRecW.c][582]
Exit:[SQL_SUCCESS]
SQLState = IM001
Native = 0x7ffffdcf3b94 -> 0
Message Text = [[unixODBC][Driver Manager]Driver does not support this function]
[ODBC][6262][SQLGetDiagRecW.c][540]
Entry:
Statement = 0x1f41fda0
Rec Number = 1
SQLState = 0x7ffffdcf3da0
Native = 0x7ffffdcf3b94
Message Text = 0x1f45bdd8
Buffer Length = 510
Text Len Ptr = 0x7ffffdcf3df0
[ODBC][6262][SQLGetDiagRecW.c][582]
Exit:[SQL_SUCCESS]
SQLState = IM001
Native = 0x7ffffdcf3b94 -> 0
Message Text = [[unixODBC][Driver Manager]Driver does not support this function]
This shows the error coming from the ODBC driver because it is trying to perform a function that the UNIXodbc driver manager does not how to handle.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |