Oracle 11R2 TO MSSQLServer via ODBC Hangs

Hi everyone:
I'm trying to connect from an Oracle 11.2.0.3 on Solaris 10 (64 bit SPARC) to a MS SQL server 2000 using openlink odbc drivers 6.1 for SQL Server.
We can do a tnsping to the remore database and it works, but when we try to query any table from SQL Server connections hangs always in the same step.
Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.750
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.749
Version 11.2.0.2.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "CardHolders"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:CardHolders
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
rc=2147476520 attempting to get LANG environment variable.
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/11/26-11:20:26
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/apex01/oraapex/ODBC_64/lib/sql_mt_lt.so"
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a170e68
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1724b0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18db90
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a172520
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dce0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dca0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a191240
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182600
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182cc0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183270
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183988
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182d10
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17e190
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184ec8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1876d8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a187928
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dc30
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dc88
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1887a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17e130
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dad8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a173ba0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a173ef0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a174560
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dea0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a156d60
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17f070
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183048
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1760a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17c2f0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17db78
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184390
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184ac0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1873f8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1906d8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a191038
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a187dc8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a188048
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1886c8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1883a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a176040
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a190738
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17c368
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18e280
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a190b28
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Exiting hgolofn, rc=0 at 2012/11/26-11:20:26
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/11/26-11:20:26
Entered hgolgon at 2012/11/26-11:20:26
reco:0, name:SA, tflag:0
Entered hgosuec at 2012/11/26-11:20:26
Exiting hgosuec, rc=0 at 2012/11/26-11:20:26
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using SA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/11/26-11:20:26
HS_FDS_CONNECT_INFO = "CardHolders"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/11/26-11:20:26
dsn:CardHolders, name:SA
optn:
Entered hgocip at 2012/11/26-11:20:26
dsn:CardHolders
Exiting hgocip, rc=0 at 2012/11/26-11:20:26
Exiting hgogenconstr, rc=0 at 2012/11/26-11:20:26
We configured the odbc.ini, initDB.ora , listener.ora an tnsnmaes.ora as follows.
[ODBC Data Sources]
CardHolders = OpenLink SQL Server Lite Driver (multi threaded)
*** odbc.ini
[CardHolders]
Driver = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
ServerType = SQLServer 2000
Username = SA
Password = Passw0rd
Database = CardHolders
Options = -H 192.168.40.15 -P 1433 -V 9
FetchBufferSize = 99
ReadOnly = Yes
DeferLongFetch =
JetFix = No
Description = Sample SQLServer 2000 Lite Connection
MaxRows =
NoRowSetSizeLimit = No
InitialSQL =
NoAutoCommit = No
NoLoginBox =
SqlDbmsName =
QuotedId = Yes
AnsiNPW = No
*** initCardHolders.ora
HS_FDS_CONNECT_INFO=CardHolders
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_TRACE_FILE_NAME = CardHolders.trc
HS_FDS_SHAREABLE_NAME = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
HS_FDS_FETCH_ROWS=1
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_FDS_SUPPORT_STATISTICS=FALSE
*** listener.ora (added)
(SID_DESC =
(SID_NAME = CardHolders)
(ORACLE_HOME= /apex01/oraapex/apexdb/11.2.0.2)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH=/apex01/oraapex/ODBC_64/lib:$ORACLE_HOME/lib)
*** tnsnames.ora (added)
CardHolders =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1530))
(CONNECT_DATA=(SERVICE_NAME=CardHolders))
(HS=OK)
Thanks in advance, any help would be appreciated.
Regards!!

Hi Klaus:
Thank you for your response.
I changed the library from sql_mt_lt.so to libodbc.so for HS_FDS_SHAREABLE_NAME as you suggested, restarted all services, but it keeps behaving the sam, it still hangs
Here is the agent log:
Oracle Corporation --- WEDNESDAY NOV 28 2012 20:03:31.091
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- WEDNESDAY NOV 28 2012 20:03:31.091
Version 11.2.0.2.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
HOSGIP returned value of "32" for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "CardHolders"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:CardHolders
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
rc=2147476408 attempting to get LANG environment variable.
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/11/28-20:03:31
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/apex01/oraapex/ODBC_64/lib/libodbc.so"
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32f1c0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32c6b0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32b420
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a326520
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31cc70
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31a5b0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a337398
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31b5a0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31d1a8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32fa58
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a325148
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31dcc0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a330328
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a329950
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31e100
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32d458
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31c5d8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31c198
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32d130
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32fed0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a335e30
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a336d90
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3101d0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3179d0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32db00
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a319278
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31baa8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a310c38
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a334100
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a334950
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a335780
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a323e58
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3225c0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3290d0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a331620
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a30d3e8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32a2a8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a311670
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a311f48
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a312830
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a333820
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a333088
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a335060
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a30e540
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a30eef0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Exiting hgolofn, rc=0 at 2012/11/28-20:03:31
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
treat_SQLLEN_as_compiled = 0
Exiting hgoinit, rc=0 at 2012/11/28-20:03:31
Entered hgolgon at 2012/11/28-20:03:31
reco:0, name:SA, tflag:0
Entered hgosuec at 2012/11/28-20:03:31
Exiting hgosuec, rc=0 at 2012/11/28-20:03:31
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using SA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/11/28-20:03:31
HS_FDS_CONNECT_INFO = "CardHolders"
HS_FDS_CONNECT_STRING = "192.168.40.15:1433//CardHolders"
Entered hgogenconstr at 2012/11/28-20:03:31
dsn:CardHolders, name:SA
optn:192.168.40.15:1433//CardHolders
Entered hgocip at 2012/11/28-20:03:31
dsn:CardHolders
Exiting hgocip, rc=0 at 2012/11/28-20:03:31
Exiting hgogenconstr, rc=0 at 2012/11/28-20:03:31
An the unixx ODBC trace:
** iODBC Trace file
** Trace started on Wed Nov 28 20:03:31 2012
** Driver Manager: 03.52.0607.1008
[000000.000313]
Application 00000001 ENTER SQLAllocHandle
          SQLSMALLINT 1 (SQL_HANDLE_ENV)
          SQLHANDLE 0x0 (SQL_NULL_HANDLE)
          SQLHANDLE * 100362318
[000000.000335]
Application 00000001 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 1 (SQL_HANDLE_ENV)
          SQLHANDLE 0x0 (SQL_NULL_HANDLE)
          SQLHANDLE * 100362318 (100369a20)
[000000.000356]
Application 00000001 ENTER SQLSetEnvAttr
          SQLHENV 100369a20
          SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
          SQLPOINTER 3
          SQLINTEGER * -6 (SQL_IS_INTEGER)
[000000.000425]
Application 00000001 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
          SQLHENV 100369a20
          SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
          SQLPOINTER 3
          SQLINTEGER * -6 (SQL_IS_INTEGER)
[000000.000797]
Application 00000001 ENTER SQLAllocHandle
          SQLSMALLINT 2 (SQL_HANDLE_DBC)
          SQLHANDLE 100369a20
          SQLHANDLE * 100362320
[000000.000896]
Application 00000001 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 2 (SQL_HANDLE_DBC)
          SQLHANDLE 100369a20
          SQLHANDLE * 100362320 (100369fc0)
[000000.000933]
Application 00000001 ENTER SQLSetConnectAttr
          SQLHDBC 100369fc0
          SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
          SQLPOINTER 0x0
          SQLINTEGER * -5 (SQL_IS_UINTEGER)
[000000.000981]
Application 00000001 EXIT SQLSetConnectAttr with return code 0 (SQL_SUCCESS)
          SQLHDBC 100369fc0
          SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
          SQLPOINTER 0x0
          SQLINTEGER * -5 (SQL_IS_UINTEGER)
[000000.001359]
Application 00000001 ENTER SQLDriverConnect
          SQLHDBC 100369fc0
          SQLPOINTER 0x0
          SQLCHAR * 100351808
                    | DSN=CardHolders;UID=SA;PWD=******* |
          SQLSMALLINT 34
          SQLCHAR * 100350ad0
          SQLSMALLINT 1024
          SQLSMALLINT * ffffffff7fffe0b2
          SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
Thank you for your time and comments
Regards!

Similar Messages

  • Storing HK character in Oracle 8.1.6. via ODBC driver

    Hi,
    I came to a problem about storing the HK government defined
    characters in the Oracle 8.1.6 via the Oracle ODBC driver.
    Help of any kind is welcome.
    Character set : ZHT16BIG5
    OS : English Win NT with Richwin installed
    Details:
    The HK characters work fine with SQLPLUS. However when I
    inserted through the ODBC driver, '?' is stored.

    There isn't good news here. Richwin is not supported. You need
    to use Traditional Chinese NT to enter the characters with
    NLS_LANG set to MSWIN950. SQLPLUS is working because you likely
    have set up a garbage-in, garbage-out scenario. In other words
    you set NLS_LANG on the client to match the database character
    set ZHT16BIG5. So no conversion is taking place between the
    client OS and the database. But the characters in the database
    will not be stored correctly. Write back if you would like more
    details.

  • Oracle TO MSSQLServer vi ODBC Hangs

    Hi everyone:
    I'm trying to connect from an Oracle 11.2.0.3 on Solaris 10 (64 bit SPARC) to a MS SQL server 2000 using openlink odbc drivers 6.1 for SQL Server.
    We can do a tnsping to the remore database and it works, but when we try to query any table from SQL Server connections hangs always in the same step.
    Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.750
    Heterogeneous Agent Release
    11.2.0.2.0
    Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.749
    Version 11.2.0.2.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "CardHolders"
    Product-Info:
    Port Rls/Upd:2/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:CardHolders
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
    rc=2147476520 attempting to get LANG environment variable.
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2012/11/26-11:20:26
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/apex01/oraapex/ODBC_64/lib/sql_mt_lt.so"
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a170e68
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1724b0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a18db90
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a172520
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a18dce0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17dca0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a191240
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a182600
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a182cc0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a183270
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a183988
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a182d10
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17e190
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a184ec8
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1876d8
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a187928
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a18dc30
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a18dc88
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1887a0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17e130
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17dad8
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a173ba0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a173ef0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a174560
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17dea0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a156d60
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17f070
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a183048
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1760a0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17c2f0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17db78
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a184390
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a184ac0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1873f8
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1906d8
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a191038
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a187dc8
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a188048
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1886c8
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a1883a0
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a176040
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a190738
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a17c368
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a18e280
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Entered hgolofns at 2012/11/26-11:20:26
    symbol_peflctx=0x7a190b28
    hoaerr:0
    Exiting hgolofns at 2012/11/26-11:20:26
    Exiting hgolofn, rc=0 at 2012/11/26-11:20:26
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2012/11/26-11:20:26
    Entered hgolgon at 2012/11/26-11:20:26
    reco:0, name:SA, tflag:0
    Entered hgosuec at 2012/11/26-11:20:26
    Exiting hgosuec, rc=0 at 2012/11/26-11:20:26
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using SA as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/11/26-11:20:26
    HS_FDS_CONNECT_INFO = "CardHolders"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/11/26-11:20:26
    dsn:CardHolders, name:SA
    optn:
    Entered hgocip at 2012/11/26-11:20:26
    dsn:CardHolders
    Exiting hgocip, rc=0 at 2012/11/26-11:20:26
    Exiting hgogenconstr, rc=0 at 2012/11/26-11:20:26
    We configured the odbc.ini, initDB.ora , listener.ora an tnsnmaes.ora as follows.
    [ODBC Data Sources]
    CardHolders = OpenLink SQL Server Lite Driver (multi threaded)
    *** odbc.ini
    [CardHolders]
    Driver = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
    ServerType = SQLServer 2000
    Username = SA
    Password = Passw0rd
    Database = CardHolders
    Options = -H 192.168.40.15 -P 1433 -V 9
    FetchBufferSize = 99
    ReadOnly = Yes
    DeferLongFetch =
    JetFix = No
    Description = Sample SQLServer 2000 Lite Connection
    MaxRows =
    NoRowSetSizeLimit = No
    InitialSQL =
    NoAutoCommit = No
    NoLoginBox =
    SqlDbmsName =
    QuotedId = Yes
    AnsiNPW = No
    *** initCardHolders.ora
    HS_FDS_CONNECT_INFO=CardHolders
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_TRACE_FILE_NAME = CardHolders.trc
    HS_FDS_SHAREABLE_NAME = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
    HS_FDS_FETCH_ROWS=1
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    HS_FDS_SUPPORT_STATISTICS=FALSE
    *** listener.ora (added)
    (SID_DESC =
    (SID_NAME = CardHolders)
    (ORACLE_HOME= /apex01/oraapex/apexdb/11.2.0.2)
    (PROGRAM = dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/apex01/oraapex/ODBC_64/lib:$ORACLE_HOME/lib)
    *** tnsnames.ora (added)
    CardHolders =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1530))
    (CONNECT_DATA=(SERVICE_NAME=CardHolders))
    (HS=OK)
    Thanks in advance, any help would be appreciated.
    Regards!!

    Hi Tony,
    It would be better to ask this question in the Heterogeneous Connectivity Forum -
    Heterogeneous Connectivity
    Issues connecting from Oracle to non-Oracle databases using Gateways are handled in that forum. This forum is for problems using the Oracle ODBC drivers.
    Regards,
    Mike

  • Can SQL*Plus connect via ODBC to NON-Oracle data source?????

    I am struggling to understand something. I downloaded Oracle instance client, SQL*Plus and ODBC components with the hopes of being able to connect via SQL*Plus to a non-Oracle/ODBC compliant database.
    Is this possible? Or is SQL*Plus ability to connect via ODBC only to an Oracle data source??
    Thanks...

    sqlplus only connects to oracle. you can use the odbc driver from instant client to allow other applications to access oracle via odbc (e.g. excel). if you need to connect to non-oracle odbc database (ms-access, foxpro, etc.) you need odbc driver for those sources.
    you can use sqldeveloper to connect to oracle and non-oracle databases. check otn product info for sqldeveloper for more details.

  • Trouble in extracting Via ODBC to Oracle or Access - Numbers Change

    I am running a report that I only want the group records printed. One of the group fields  shows a sum of a function from the detail records.
    The following function sj_rec is on the detail record
    WhilePrintingRecords;
    Numbervar clm_sj_amt;
    if {SJE_RECORD.SJER_TYPE} in ["S","J"] then
        clm_sj_amt := clm_sj_amt + {SJE_RECORD.SJER_AMOUNT};
    if {SJE_RECORD.SJER_TYPE} = "R" then
        clm_sj_amt := clm_sj_amt - {SJE_RECORD.SJER_AMOUNT};
    clm_sj_amt;
    Then on the Group Record we have disp_sj function
    WhilePrintingRecords;
    numberVar   clm_sj_amt;
    clm_sj_amt;
    On the crystal report  every thing looks fine.
    When I extract the  Information Via ODBC to Oracle or Access the numbers change. If I extract to Excel it is fine.
    Can you please explain why I canu2019t get on oracle the exact info displayd in crystal ???

    Please re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum
    Likely differences in how ODBC links and indexes the tables.

  • Oracle Cloud connections by other databases via ODBC/JDBC/XML

    If we move to the Oracle Cloud, will these tables be available from other SQL clients via ODBC/JDBC/XML? It obviously works fine with an internally hosted Oracle solution, but I didn't know if moving the Oracle Cloud would remove these features. Thanks.

    You need a service to auto start/stop instances. Pls See
    Re: Oracle instance is going to idle when i restart/start the machineRgds,
    Ahmer

  • HY000 error retrieving CLOB-data from oracle database via ODBC

    Hello,
    I get error HY000 [Oracle][ODBC][ORA] ORA-00932: inconsistent datatype when I want to show a CLOB column in my crystal report. The type of the field in the report is memo - in the database it is CLOB.
    How to retrieve CLOB-data from an Oracle 11GR2 database via ODBC in Crystal Report Version 12.3.0.601?
    Thanks in advance for any help.
    kind regards
    Monika Anna

    Hello,
    Who's ODBC driver are you using?
    Try our DataDirect drivers - https://smpdl.sap-ag.de/~sapidp/012002523100008666562008E/cr_datadirect53_win32.zip
    Thank you
    Don

  • Connection to MySQL via ODBC not working

    Hello all together,
    I've got a problem with the ODBC connection to MySQL. The connection via ODBC is established and things like tnsping are working.
    When I select some data within the SQL*Plus environment, I get no real result. For example "select table_name from all_tables@mysql;" returns nothing.
    My entry in listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=odbc_mysql)
    (ORACLE_HOME=D:\oracle\product\11.0.1\db_1)
    (PROGRAM=dg4odbc)
    My entry in tnsnames.ora:
    MYSQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA = (SID=odbc_mysql))
    (HS=OK)
    The initodbc_mysql.ora in ORACLE_HOME/hs/admin/:
    HS_FDS_CONNECT_INFO = odbc_mysql
    HS_AUTOREGISTER = TRUE
    HS_DB_NAME = hsodbc
    I tried some modifications but I still get no data from mysql database. When I try "select * from customer@mysql;" I get the correct number of records, the correct column names, but the content is always "¬¬¬¬". The odbc driver works, because with MS Access I can fetch the data. I'm using Oracle 11g Release 1 EE and MySQL ODBC 5.1.5.
    What could be the reason for this?
    Greetings,
    Joerg

    created in my UTF-8 Mysql DB your table and inserted a record; the select shows:
    SQL> select * from "movieclass"@mysql;
    idClass
    ClassName
    123
    H e l l o
    As you can see the content is there, the "space" between the letters is related to unicode. Each character is interpreted by 2 bytes and SQL*Plus wrongly displays both. Using iSQLPLus or SQLDeveloper does not show the "space" between the letters.
    Here the data type mapping:
    SQL> desc "movieclass"@mysql;
    Name Null? Type
    idClass NUMBER(3)
    ClassName NOT NULL NVARCHAR2(50)
    What's the exact version of DG4ODBC you're using? 11.1.0.7?
    According to the listener file you're using DG4ODBC on Windows. There was a high/low byte issue in DG4ODBC for Windows. This issue is fixed in 11.1.0.7 and a certain patch. So I recommend you to get first the 11.1.0.7 patchset (if you don't already have it installed):
    6890831 Oracle Database Family: Patchset
    11.1.0.7.0 PATCH SET FOR ORACLE DATABASE SERVER 11.1.0.7.0
    and then please apply also the latest patch:
    8689191 Oracle Database Family: Patch
    ORACLE 11G 11.1.0.7 PATCH 16 BUG FOR WINDOWS 32 BIT 11.1.0.7.0
    There was a high/low byte issue
    Edited by: kgronau on Aug 11, 2009 10:28 AM

  • Error when connecting to SQL*PLUS via ODBC to Excel

    OS: Windows 2000 Professional
    Oracle DB: 9i release 2
    SQL*Plus: Release 9.2.0.1.0
    MS Excel: 2000
    ===================
    When I try to connect to SQL*PLUS via ODBC to Excel with "connect scott/tiger@odbc:libro" I get the following error:
    ORA-03121: no interface driver connected - function not performed

    SQL Server objects are commonly case sensitive, so please surround the column and table names by double quotes:
    SELECT "Type_PK_ID" FROM "dbo"."boundaries"@sqlserver
    SIDE NOTE: Oracle is by default not case sensitive and all object names are stored in upper case. To get case sensitive objects they need to be surrounded by double quotes. In HSODBC case sensitive table names were commonly found even when not surrounded by double quotes as the gateway used internal SQL Server methods to find the correct table nameing - this method does not work for column names. So to be able to query a case sensitive column it needs to be surrounded by double quotes and the table name must be written as stored in the source database.

  • MARS connection to SQL Server in JAVA via ODBC

    Hello.
    I've got this problem.
    I'm managing an application JAVA/JSP, based on a 3-tier architecture.
    The connection to the database is performed via JDBC/ODBC, in order to work with different DRMS.
    Everything is ok when connecting to Oracle or MySql via JDBC, but when we connect to SQL Server via ODBC we get this error: "ODBC SQL SERVER - Connection is busy with result for another stmt".
    That's why the application executes more than one SQL statement, opening a ResultSet object, under the same connection.
    This is the way the application is performing, and we can't change it.
    I've read that on SQL Server 2005 is available a new connection parameter called MARS (Multiple Active Result Sets), that should resolve this problem.
    But I was not able to find any way to invoke this type of connection in JAVA for an ODBC connection! (I've found only tips for .NET...).
    Many thanks if somebody can suggest me how to resolve this problem.
    It's urgent!

    Use JDBC. Get a SQL server JDBC driver. Unfortunately I don't know of any free ones, but one I have used in the past is from http://www.jnetdirect.com/
    Maybe you can search in the JDBC forum for the answer - Its a common enough question I know.

  • How to Connect to Oracle 9i database server via Oracle 10g XE

    I have installed Oracle 10g eXpress Edition and uninstalled Oracle 9i client database. I used Oracle 9i client to connect to another Database server on a local LAN. Is it possible to create a database link to the old Oracle 9i database server via Oracle 10g XE? If yes, do I need to add ODBC drivers?
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database server using Ora101040 odbc drivers.
    2) Use a similar 9i tool (Enterprise Management Console) within Oracle 10g XE to access Oracle 9i Database tables on a LAN network.
    3) Create data access to Oracle 10g XE via some ODBC connection from a C++ runtime application.
    Hope to receive help from Oracle professionals.
    Thanks.

    I have installed Oracle 10g eXpress Edition and
    uninstalled Oracle 9i client database. I used OraclePlease clarify - you uninstalled the 9i database or the 9i client.
    9i client to connect to another Database server on a
    local LAN. Is it possible to create a database link
    to the old Oracle 9i database server via Oracle 10g
    XE? If yes, do I need to add ODBC drivers?
    Database links between Oracle databases do not require ODBC. They do require Oracle Networking (included with both Oracle9i Database and Oracle Database 10g XE) to be configured correctly.
    It is also possible to connect ot the 9i database using the 10g Instant Client (separate download)
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database
    server using Ora101040 odbc drivers.Please clarify - what client do you wish to run that needs ODBC?
    2) Use a similar 9i tool (Enterprise Management
    Console) within Oracle 10g XE to access Oracle 9i
    Database tables on a LAN network.XE does not have an equivalent to Oracle Enterprise Manager. XE does come with HTMLdb preinstalled and configured, and HTMLdb provides a subset of the administration capabilities of Enterprise Manager.
    3) Create data access to Oracle 10g XE via some ODBC
    connection from a C++ runtime application.You can download ODBC drivers from the same location on OTN you downloaded XE. I do not know whether XE includes ODBC drivers. ODBC drivers will usually still require you to configure the Oracle Networking.
    There are a number of items that make me believe you do not have a good grasp of Oracle architecture and basics. If true, I encoureage you to start reading the Concepts manual found for the database at http://docs.oracle.com, or at least the O'Reilly book 'Oracle Essentials' found at http://oracle.oreilly.com

  • How query data in pl/sql via ODBC from DB2 on AS400

    Hi,
    What's the most easy way to do some selects on tables in an external (non-oracle)database via odbc?
    I only need selects, no dml-statements like inserts en updates...
    Where can I find more information about this subject?
    Filip

    You need to use Oracle Heterogeneous Services. Firstly you have to obtain and configure DB2 ODBC drivers. I got mine from ibm.com (not free) but I am sure there are some third party vendors out there. I don't know much about DB2 so I can't help you with the configuration (I asked a DB2 DBA to help me with that part).
    The rest is just setting up Oracle HS and creating the DB link. The following steps should help but there are much more detailed manuals for Oracle HS on http://tahiti.oracle.com.
    Listener Configuration
    Add the following entry into the SID_LIST part of the listener. The SID_NAME will be used in the heterogeneous services configuration
    (SID_DESC=
    (SID_NAME=db2)
    (ORACLE_HOME=D:\oracle\ora92)
    (PROGRAM=hsodbc)
    Restart the listener.
    Heterogeneous Service Configuration
    Under ORACLE_HOME\HS\admin create the following text file called initDB2.ora (the DB2 part should match the SID_NAME used in the listener configuration).
    Put the following line in the text file (the DQ01 is the name of the DB2 ODBC System DSN):
    HS_FDS_CONNECT_INFO=DQ01
    Client Configuration
    The client side refers to an Oracle database that will use the heterogeneous gateway.
    TNSNames Entry
    Put the following entry in the tnsnames.ora file (the SID part should match the SID_NAME in the listener configuration):
    DB2.telkom.co.za =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=cntrra20-esdt00)(PORT=1521))
    (CONNECT_DATA=(SID=db2))
    (HS=OK)
    Database Link
    Create a database link that references the new tnsnames.ora entry:
    create public database link db2
    connect to oratst identified by oracle using 'db2';
    Test the database link.

  • Error when connecting via ODBC connections

    Alright, so....
    I have a Windows 7, 64 bit OS.  I installed Oracle 10g, I installed Crystal Reports Xi release 2.
    Via ODBC Administrator, I set up my data sources, and they all connect successfully.
    I go into Crystal Reports, create a new report, and attempt to set a new connect and use those same data sources. I get prompted for my user name and password.  I get the error:
    Logon failed.
    Details: IM004:[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandel on SQL_HANDEL_ENV failed
    HELP!  I've changed security settings, I've wiped my machine and started over from scratch, I've even installed Oracle 11g. Please help!  I'm about to pull my hair out. I am sure this is probably something easy or something I've overlooked, but I give up and throw the towel in.

    Go into \windows\syswow64 and use the odbcadm32.exe located in there. It's the 32 bit version of the ODBC Administrator.
    Also, search before posting and this has been answered.
    And you need Service Pack 6 to be supported on Windows 7.
    Thank you
    Don
    Edited by: Don Williams on Aug 27, 2010 2:31 PM

  • Connecting to db2 from report builder via odbc

    Hi!
    Some manuals said, it is possible to connect to DB2 from Oracle SQL*Plus (we have version 8.0.6.0.0)
    and from Oracle Report Builder.(6.0.8.11.3)
    User must install OCA (Oracle Open Client Adapter for ODBC (6.0.5.29.0)) and make ODBC entry.
    I did it.
    run with: plus80 db2user/db2pass@odbc:db2test
    SQL*Plus made the connection, but with errors:
    SQL*Plus: Release 8.0.6.0.0 - Production on Fri Oct 17 16:12:56 2003
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    DB2/NT 08.01.0000
    SQL>
    The error refers PUPBLD.SQL, but I think it is Oracle specific, don't help.
    Worse, that it can't connect from Report Builder, it just throws error.
    If I set OCA_DEBUG=TRUE in registry, I have bonus messages:
    oca-30053 unsupported network call (oracle code: 3115)
    oca-30002 ubofssw function not supported (1010)
    I tried to connect to MsAcces too, but I got same errors.
    Have you any idea, how can I solve this?
    Thanks

    resolved
    I just add the master entry in the c:\Report\NET80\ADMIN\tnsnames.ora, and it works.
    but I can't connect with the system or sys accounts, it work just with scott/tiger.

  • Where can I find Oracle 8.1.6.1 ODBC Driver

    I am looking for Oracle 8.1.6.1 ODBC Driver. The current downloads at Oracle site do not have the exact version. I would appreciate if anybody could direct me to the link where I can get this driver.
    Thanks
    null

    Is there a reason that you can't use the newer 8.1.6.2 driver? Generally, Oracle doesn't make all the older versions available for download.
    Justin

Maybe you are looking for