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.

Similar Messages

  • 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

  • Database link Oracle to MySql Error [Microsoft][ODBC Driver Manager]

    Dear all:
    I need your help, I want to access mysql database from oracle 11g r2. When I try to connect mysql database from oracle database I'm getting the error shown below, kindly help your help will be appreciated, thanks in advance
    When I excute:
    select * from test1@mysqltest;
    [ERROR]
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}
    ORA-02063: preceding 2 lines from THAONT1.MYSQL
    28500. 00000 -  "connection from ORACLE to a non-Oracle system returned this message:"
    *Cause:    The cause is explained in the forwarded message.
    *Action:   See the non-Oracle system's documentation of the forwarded message.
    My config
    oracle db:11.2.0.3 enterprise edition
    os:win 7 64 bits
    mysql connector odbc:64 bit
    mysql db:5.1.19
    ODBC Config
    LISTENER.ORA:
    =============
    # listener.ora Network Configuration File: D:\app\THAONTSE90151\product\11.2.0\dbhome_3\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = D:\app\THAONTSE90151\product\11.2.0\dbhome_3)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\THAONTSE90151\product\11.2.0\dbhome_3\bin\oraclr11.dll")
        (SID_DESC =
          (SID_NAME = tst)
          (ORACLE_HOME = D:\app\THAONTSE90151\product\11.2.0\dbhome_3)
          (PROGRAM = dg4odbc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.1.58)(PORT = 1521))
    ADR_BASE_LISTENER = D:\app\THAONTSE90151
    TNSNAMES.ORA:
    ================
    TSTLINK =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.1.58)(PORT = 1521))
        (CONNECT_DATA =
          (SID = tst)
        (HS = OK)
    inittst.ora($ORACLE_HOME/hs/admin)
    ========================
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = testmysql
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set ODBCINI=D:\ODBC.INI
    dblink created from oracle to mysql:
    ==========================
    SQL> create public database link mysqltest
    connect to thaont identified by abc123 using 'TSTLINK';
    SQL>select * from test1@mysqltest;
    [ERROR]
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}
    ORA-02063: preceding 2 lines from THAONT1.MYSQL
    28500. 00000 -  "connection from ORACLE to a non-Oracle system returned this message:"
    *Cause:    The cause is explained in the forwarded message.
    *Action:   See the non-Oracle system's documentation of the forwarded message.
    kindly help.
    thanks & regards.

    The error message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}" is self explainind - DG4ODBC is not able to find the ODBC DSN you created.
    In your gateway init file you configured the DSN: HS_FDS_CONNECT_INFO = testmysql
    And according to the Windows ODBC Admin screenshot you created a DSN called testmysql - unfortunately you created it as a USER DSN. But DG4ODBC needs a SYSTEM DSN. The reasin why it needs a system DSN is that by default the Oracle listener is running in the local system account. So when you create an ODBC USER DSN it can be access by the user who created it, but nobody else can use it - also not the local system account which is serving the Oracle listener. So you need to create a system DSN that every user on this machine can use the DSN (including the local system account) .
    - Klaus

  • UnixODBC and Oracle 10.2.0.3 ODBC driver - Batch inserts not supported?

    We're trying to use the 10.2.0.3 Oracle ODBC driver for Linux, with UnixODBC 2.2.11 (on CentOS 5.2).
    Most things work fine, but when we call:
    SQLSetStmtAttr(_stmtHandle, SQL_ATTR_PARAMSET_SIZE, (SQLPOINTER)rowSize, 0);
    It returns -1, and the error returned is:
    ODBC error: (IM001) - [unixODBC][Driver Manager]Driver does not support this function
    (The same thing when trying to set SQL_ATTR_PARAM_BIND_TYPE (setting it to SQL_PARAM_BIND_BY_COLUMN).
    Has anyone seen this before? What could we be doing wrong?

    I've tried the 10.1 ODBC driver and it seems to work correctly.
    Now I'd like to know if Oracle has the intention of making available a new version of the XE Client in the near future or if the adoption of the previous version is the only solution...
    Luca

  • Oracle 10G DB + 9.2 odbc driver error 12154

    I installed on a Windows 2003 Server the Oracle 10G XE database.
    then I installed the oracle client Version 9.2.0.1.0 where I only Installed the client and the windows services.
    Why I installed the client in Version 9.2.0.1.0: I need the ODBC Driver in Version 9.2.0.0.0 for another software.
    The Problem: When i try to connect via the Oracle odbc driver 9.2.0.0.0 (test connection),
    I always get Error 12154 . On my Windows 2000 machine where I tested it, it works fine.
    It also works fine when I use the odbc driver 10.2 from the XE installation.
    Thanks in advance

    Solved!

  • Oracle 9i Lite Issue with ODBC driver

    Cannot reference table in user schema without schema ref
    I create a user TESTUSR and a table TESTTBL, and when I log in with user TESTUSR in SQL*Plus,
    the following will work just fine.
    SELECT * FROM TESTTBL
    but then when my ASP on IIS does the same SELECT,
    it will report "[POL-5130] table or view not found".
    But if I use a schema alias,
    SELECT * FROM TESTUSR.TESTTBL
    it will work fine.
    ODBC Admin shows: "Oracle Lite 40 ODBC Driver 4.00.00.00".
    Is this a bug ?

    I connect to the database through the same user that created those tables. Do I still need a public synonym ?

  • Oracle 11g dg4odbc OpenLink postgres odbc driver for Linux... Integer issue

    We were using scuccessfully the openlink driver for postgres odbc driver to connect oracle and postgres in solaris and oracle 10g hsodbc
    we are migrating to Linux Oracle 11g and installed linux psotgres odbc driver and configured oracle 11g dg4odbc gateway.
    We could connect from oracle and retrive the data from postgres.
    Issue we have is
    The integer data is not showing correctly…
    For example in the postgres the value is 1 and in oracle its shown as 4294967297.
    thanks,
    Sirisha

    this is the trace when its working for
    select * from "cognos_enrollmentdtl_s"@testag where "trial_id" = 39
    and for 39 its returning 167503724583 thsi value in the result set.
    Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4"
    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"
    setting HS_FDS_FETCH_ROWS to default of "100"
    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_CHARACTER_SEMANTICS 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"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    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 "testag"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:testag
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=31
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2010/09/30-10:39:28
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/OpenLink/lib/libodbc.so"
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0xaab20640
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0xaab18a10
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0xaab153d0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0xaab10200
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0xaab080c0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0xaab05e00
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0xaab1a360
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0xaab09440
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0xaab0a7a0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0xaab1fbd0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0xaab111d0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0xaab0a210
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0xaab1f870
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0xaab11f70
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0xaab09ce0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0xaab17f70
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0xaab08a20
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0xaab08680
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0xaab180b0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0xaab1fa30
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0xaab1bc10
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0xaab1b890
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0xaab007b0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0xaab05c50
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0xaab17d50
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0xaab07d30
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0xaab092e0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0xaaaffc20
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0xaab1d8a0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0xaab1cfe0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0xaab1c3b0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0xaab0ed30
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0xaab0d5a0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0xaab130a0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0xaab1f6e0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0xaaafd250
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0xaab16560
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0xaaafeed0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0xaaafe550
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0xaaafdad0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0xaab1df70
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0xaab1f260
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0xaab1cb30
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0xaaafb6f0
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Entered hgolofns at 2010/09/30-10:39:28
    libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0xaab01d70
    hoaerr:0
    Exiting hgolofns at 2010/09/30-10:39:28
    Exiting hgolofn, rc=0 at 2010/09/30-10:39:28
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    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 2010/09/30-10:39:28
    Entered hgolgon at 2010/09/30-10:39:28
    reco:0, name:readonly, tflag:0
    Entered hgosuec at 2010/09/30-10:39:28
    Exiting hgosuec, rc=0 at 2010/09/30-10:39:28
    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_CHARACTER_SEMANTICS" returned "FALSE"
    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 readonly as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/09/30-10:39:28
    HS_FDS_CONNECT_INFO = "testag"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/09/30-10:39:28
    dsn:testag, name:readonly
    optn:
    Entered hgocip at 2010/09/30-10:39:28
    dsn:testag
    Exiting hgocip, rc=0 at 2010/09/30-10:39:28
    ##>Connect Parameters (len=40)<##
    ## DSN=testag;
    #! UID=readonly;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2010/09/30-10:39:28
    Entered hgolosf at 2010/09/30-10:39:28
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFD7F 0x015F 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0xFA00 0x3F5F
    Exiting hgolosf, rc=0 at 2010/09/30-10:39:28
    DriverName:pgr7_mt_lt.so, DriverVer:06.01.0524 OpenLink PostgreSQL Lite Driver
    DBMS Name:PostgreSQL, DBMS Version:07.02.0000
    Exiting hgocont, rc=0 at 2010/09/30-10:39:28
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 32 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/09/30-10:39:28
    Entered hgoulcp at 2010/09/30-10:39:28
    Entered hgowlst at 2010/09/30-10:39:28
    Exiting hgowlst, rc=0 at 2010/09/30-10:39:28
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0xa
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 32 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns N for SQL_COLUMN_ALIAS
    5 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x00000000, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    capno:3007, context:0x00000000, add-info: -3, translation:"36"
    Exiting hgoulcp, rc=0 at 2010/09/30-10:39:28
    Entered hgouldt at 2010/09/30-10:39:28
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2010/09/30-10:39:28
    Entered hgobegn at 2010/09/30-10:39:28
    tflag:0 , initial:1
    hoi:0x2db07578, ttid (len 26) is ...
    00: 4D4D4D41 54524958 2E623835 34333234 [testac.b854324]
    10: 322E382E 31332E37 3936 [2.8.13.796]
    tbid (len 23) is ...
    00: 4D4D4D41 54524958 5B382E31 332E3739 [testac[8.13.79]
    10: 365D5B31 2E345D [6][1.4]]
    Exiting hgobegn, rc=0 at 2010/09/30-10:39:28
    Entered hgodtab at 2010/09/30-10:39:28
    count:1
    table: cognos_enrollmentdtl_s
    Allocate hoada[0] @ 0x5f38a60
    Entered hgopcda at 2010/09/30-10:39:28
    Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    The hoada for table cognos_enrollmentdtl_s follows...
    hgodtab, line 876: Printing hoada @ 0x5f38a60
    MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
    12 VARCHAR Y 0 0 0/ 0 0 0 200 trial_name
    4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
    4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
    12 VARCHAR Y 0 0 0/ 0 0 0 200 site_name
    Exiting hgodtab, rc=0 at 2010/09/30-10:39:28
    Entered hgodafr, cursor id 0 at 2010/09/30-10:39:28
    Free hoada @ 0x5f38a60
    Exiting hgodafr, rc=0 at 2010/09/30-10:39:28
    Entered hgopars, cursor id 1 at 2010/09/30-10:39:28
    type:0
    SQL text from hgopars, id=1, len=151 ...
    00: 53454C45 43542041 312E2274 7269616C [SELECT A1."trial]
    10: 5F696422 2C41312E 22747269 616C5F6E [_id",A1."trial_n]
    20: 616D6522 2C41312E 22737562 6A636E74 [ame",A1."subjcnt]
    30: 222C4131 2E22746F 74616C5F 65787065 [",A1."total_expe]
    40: 63746564 5F656E72 6F6C6C6D 656E7422 [cted_enrollment"]
    50: 2C41312E 22736974 655F6E61 6D652220 [,A1."site_name" ]
    60: 46524F4D 2022636F 676E6F73 5F656E72 [FROM "cognos_enr]
    70: 6F6C6C6D 656E7464 746C5F73 22204131 [ollmentdtl_s" A1]
    80: 20574845 52452041 312E2274 7269616C [ WHERE A1."trial]
    90: 5F696422 3D3339 [_id"=39]
    Exiting hgopars, rc=0 at 2010/09/30-10:39:28
    Entered hgoopen, cursor id 1 at 2010/09/30-10:39:28
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/30-10:39:28
    Entered hgodscr, cursor id 1 at 2010/09/30-10:39:28
    Allocate hoada @ 0x5f38a60
    Entered hgopcda at 2010/09/30-10:39:28
    Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:2, octet:64, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    Entered hgopcda at 2010/09/30-10:39:28
    Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:2, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
    hgodscr, line 880: Printing hoada @ 0x5f38a60
    MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
    12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
    4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
    4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
    12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
    Exiting hgodscr, rc=0 at 2010/09/30-10:39:28
    Entered hgoftch, cursor id 1 at 2010/09/30-10:39:28
    hgoftch, line 130: Printing hoada @ 0x5f38a60
    MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
    12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
    4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
    4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
    12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 65
    SQLBindCol: column 3, cdatatype: -16, bflsz: 4
    SQLBindCol: column 4, cdatatype: -16, bflsz: 4
    SQLBindCol: column 5, cdatatype: 1, bflsz: 257
    SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15
    SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15, (bfl: 64, mbl: 64)
    SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8
    SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8
    SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23
    SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23, (bfl: 256, mbl: 256)
    SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8
    SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15
    SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
    SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8
    SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8
    SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35
    SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35, (bfl: 0, mbl: 256)
    SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8
    SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15
    SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
    SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8
    SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8
    SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
    i will paste the remaing trace in another reply..as the 30000 char exceeded
    Edited by: Kodali.S on Sep 30, 2010 8:22 AM
    Edited by: Kodali.S on Sep 30, 2010 8:25 AM

  • 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!

  • 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.

  • How can I do to get Oracle ODBC driver in Windows?

    Hello,
    Please, I need help to use Oracle ODBC driver in Windows 7. I installed Oracle Client 10g with the ODBC driver, but I can't use it. OracleODBC driver don't appear in the driver list when I want to create a new datasource. How I can do to get Oracle ODBC driver for create a new datasource?
    Thank
    Edited by: user4528703 on 13 mars 2010 02:01

    Hello,
    To get the ODBC driver you should run a custom Oracle Client installation and Select
    Oracle Windows Interfaces 10.2.0.1.0.
    Then, you'll get the Oracle ODBC Driver 10.2.0.1.
    But, be aware that Oracle didn't certify Windows 7.
    So, if afterwards, you experience some trouble, think to install Oracle with Xp compatibilty mode, or
    wait to Oracle 11.2.0.1 which will be certified on Windows 7.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Non supported character set: oracle-character-set-41

    Hi everyone,
    I have a issue while passing a VARRAY from my Java Class to Stored Procedure.
    TYPE ERR_DATA_ARRAY AS VARRAY(100) OF VARCHAR2(1000);
    In my code i have used ArrayDescriptor and ARRAY class of oracle.
    When i run my program in eclipse i get following exception:-
    java.sql.SQLException: Non supported character set: oracle-character-set-41
    at oracle.gss.util.NLSError.throwSQLException(NLSError.java:46)
    at oracle.sql.CharacterSetUnknown.failCharsetUnknown(CharacterSetFactoryThin.java:171)
    at oracle.sql.CharacterSetUnknown.convert(CharacterSetFactoryThin.java:135)
    at oracle.sql.CHAR.<init>(CHAR.java:159)
    at oracle.sql.CHAR.<init>(CHAR.java:183)
    at oracle.jdbc.oracore.OracleTypeCHAR.toDatum(OracleTypeCHAR.java:161)
    at oracle.jdbc.oracore.OracleType.toDatumArray(OracleType.java:166)
    at oracle.jdbc.oracore.OracleTypeCHAR.toDatumArray(OracleTypeCHAR.java:208)
    at oracle.sql.ArrayDescriptor.toOracleArray(ArrayDescriptor.java:1517)
    at oracle.sql.ARRAY.<init>(ARRAY.java:117)
    at com.niit.slims.common.ejb.Array_test.test(Array_test.java:52)
    at com.niit.slims.common.ejb.Array_test.main(Array_test.java:20)
    I have added ojdbc14.jar.And my working jdk is jdk1.4.
    Plz help
    Edited by: user10569173 on Dec 8, 2011 3:58 AM

    I am not an expert here,
    but it seems that since you are using ojdbc14.jar you may actually need the
    nls_charset12.jar
    instead of the one I suggested previously.
    Regards
    Peter

  • NLS CHARACTER SET 변경 방법 (ORACLE 7)

    제품 : ORACLE SERVER
    작성날짜 : 2004-11-09
    NLS CHARACTER SET 변경 방법 (ORACLE 7)
    ======================================
    PURPOSE
    이 자료는 Oracle RDBMS SERVER에서 NLS CHARACTER SET 변경 방법에 대한
    내용을 소개한다.
    [ ORACLE 7 에서만 가능 ]
    데이타베이스의 CHARACTER SET은 데이타 딕셔너리 테이블인 sys.props$에
    들어 있다.
    SQL>desc sys.props$
    Name Null? Type
    NAME NOT NULL VARCHAR2(30)
    VALUE$ VARCHAR2(2000)
    COMMENT$ VARCHAR2(2000)
    SQL>column c1 format a30
    SQL>select name c1, value$ c1 from sys.props$;
    C1 C1
    DICT.BASE 2
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_DATE_FORMAT DD-MON-YY
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET US7ASCII
    NLS_SORT BINARY
    GLOBAL_DB_NAME NLSV7.WORLD
    여기서 NLS_CHARACTERSET에 현재 DB의 CHARACTER SET이 들어 있는데
    이 값을 변경하여 DB의 CHARACTER SET을 변경할 수 있다.
    여기서는 US7ASCII에서 KO16KSC5601로 옮기는 경우를 알아보자.
    우선 바꾸고자 하는 CHRACTER SET이 지원되는 지를 다음 명령으로
    확인한다.
    select convert('a','KO16KSC5601','US7ASCII') from dual;
    만약 이 Select 문에서 ORA-01482 에러가 발생하면 지정한 CHARACTER
    SET이 지원되지 않는 경우이며 에러가 발생하지 않으면 CHARACTER
    SET을 변경할 수 있다.
    작업을 하기 전에는 만약을 위해서 DB 전체를 백업 받아두도록 한다.
    CHARACTER SET 을 잘못 변경하면 DB 를 OPEN 할 수가 없기 때문이다.
    1. 다음의 Update문을 실행하여 CHARACTER SET을 변경한다.
    UPDATE sys.props$
    SET value$ = 'KO16KSC5601'
    WHERE name = 'NLS_CHARACTERSET';
    Update 시에 NLS_CHARACTERSET을 지원되지 않는 값으로 잘못 설정하거나
    실수로 콘트롤 문자 같은 것이 들어가게 되면 DB가 Shutdown 된 다음에는
    Startup 이 안되므로 Update 후에 다음 명령으로 확인을 한 다음에
    Commit을 하도록 한다.
    select name, value$
    from sys.props$
    where value$ = 'KO16KSC5601';
    Select가 제대로 출력되면 Commit 하고 Shutdown 했다가 Startup 하게
    되면 새로운 CHARACTER SET 값을 갖게 된다. SELECT가 안 되면 ROLLBACK
    하고 UPDATE부터 다시 하도록 한다.
    2. 환경 변수 NLS_LANG 을 변경한다.
    .profile 에서
    NLS_LANG=American_America.KO16KSC5601; export NLS_LANG
    또는 .cshrc 에서.
    setenv NLS_LANG American_America.KO16KSC5601
    *** win95 및 winnt의 client에서는 registry editor에서 NLS_LANG 값을
    맞추어준다.
    주의 !!!
    : 위의 작업을 하기 전에 발생할 가능성이 있는 문제점
    1) update 중 KO16KSC5601 이나 US7ASCII 등에서 철자를 잘못 입력하시면,
    db 재기동 후에, 다음과 같은 에러가 발생합니다.
    ora-12708
    12708, 00000, "error while loading create database NLS parameter %s"
    2) KO16KSC5601과 US7ASCII의 비교
    Character set : KO16KSC5601 인 경우
    ===================================
    : double byte encoding schema 이므로, 한글의 경우 2 bytes 를 크기 1로
    계산하는 함수들이 있습니다.
    그리고, table , column name에 한글을 double quote 없이 사용할 수 있습니다.
    예)
    SQL> create table 시험1
    2 (컬럼1 varchar(10));

    a
    홍길동
    SQL> select length(컬럼1) from 시험1;
    1
    1
    3
    SQL> select lengthb(컬럼1) from 시험1;
    2
    1
    6
    Character set : US7ASCII 인 경우
    =================================
    : single byte 7 bit encoding 을 사용합니다.
    한글로 된 table, column 이름 사용 시 double quote를 반드시 사용해야 한다.
    예)
    SQL> create table "사원"
    2 ("사원이름" varchar2(10));

    a
    홍길동
    SQL> select length("사원이름") from "사원";
    2
    1
    6
    SQL> select lengthb("사원이름") from "사원";
    2
    1
    6
    US7ASCII일 때에는 vsize, lengthb function의 결과가 length 함수와 모두
    동일합니다.
    cf) substr, substrb 함수도 위의 length, lengthb의 관계와 같음.

    제품 : ORACLE SERVER
    작성날짜 : 2004-11-09
    NLS CHARACTER SET 변경 방법 (ORACLE 7)
    ======================================
    PURPOSE
    이 자료는 Oracle RDBMS SERVER에서 NLS CHARACTER SET 변경 방법에 대한
    내용을 소개한다.
    [ ORACLE 7 에서만 가능 ]
    데이타베이스의 CHARACTER SET은 데이타 딕셔너리 테이블인 sys.props$에
    들어 있다.
    SQL>desc sys.props$
    Name Null? Type
    NAME NOT NULL VARCHAR2(30)
    VALUE$ VARCHAR2(2000)
    COMMENT$ VARCHAR2(2000)
    SQL>column c1 format a30
    SQL>select name c1, value$ c1 from sys.props$;
    C1 C1
    DICT.BASE 2
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_DATE_FORMAT DD-MON-YY
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET US7ASCII
    NLS_SORT BINARY
    GLOBAL_DB_NAME NLSV7.WORLD
    여기서 NLS_CHARACTERSET에 현재 DB의 CHARACTER SET이 들어 있는데
    이 값을 변경하여 DB의 CHARACTER SET을 변경할 수 있다.
    여기서는 US7ASCII에서 KO16KSC5601로 옮기는 경우를 알아보자.
    우선 바꾸고자 하는 CHRACTER SET이 지원되는 지를 다음 명령으로
    확인한다.
    select convert('a','KO16KSC5601','US7ASCII') from dual;
    만약 이 Select 문에서 ORA-01482 에러가 발생하면 지정한 CHARACTER
    SET이 지원되지 않는 경우이며 에러가 발생하지 않으면 CHARACTER
    SET을 변경할 수 있다.
    작업을 하기 전에는 만약을 위해서 DB 전체를 백업 받아두도록 한다.
    CHARACTER SET 을 잘못 변경하면 DB 를 OPEN 할 수가 없기 때문이다.
    1. 다음의 Update문을 실행하여 CHARACTER SET을 변경한다.
    UPDATE sys.props$
    SET value$ = 'KO16KSC5601'
    WHERE name = 'NLS_CHARACTERSET';
    Update 시에 NLS_CHARACTERSET을 지원되지 않는 값으로 잘못 설정하거나
    실수로 콘트롤 문자 같은 것이 들어가게 되면 DB가 Shutdown 된 다음에는
    Startup 이 안되므로 Update 후에 다음 명령으로 확인을 한 다음에
    Commit을 하도록 한다.
    select name, value$
    from sys.props$
    where value$ = 'KO16KSC5601';
    Select가 제대로 출력되면 Commit 하고 Shutdown 했다가 Startup 하게
    되면 새로운 CHARACTER SET 값을 갖게 된다. SELECT가 안 되면 ROLLBACK
    하고 UPDATE부터 다시 하도록 한다.
    2. 환경 변수 NLS_LANG 을 변경한다.
    .profile 에서
    NLS_LANG=American_America.KO16KSC5601; export NLS_LANG
    또는 .cshrc 에서.
    setenv NLS_LANG American_America.KO16KSC5601
    *** win95 및 winnt의 client에서는 registry editor에서 NLS_LANG 값을
    맞추어준다.
    주의 !!!
    : 위의 작업을 하기 전에 발생할 가능성이 있는 문제점
    1) update 중 KO16KSC5601 이나 US7ASCII 등에서 철자를 잘못 입력하시면,
    db 재기동 후에, 다음과 같은 에러가 발생합니다.
    ora-12708
    12708, 00000, "error while loading create database NLS parameter %s"
    2) KO16KSC5601과 US7ASCII의 비교
    Character set : KO16KSC5601 인 경우
    ===================================
    : double byte encoding schema 이므로, 한글의 경우 2 bytes 를 크기 1로
    계산하는 함수들이 있습니다.
    그리고, table , column name에 한글을 double quote 없이 사용할 수 있습니다.
    예)
    SQL> create table 시험1
    2 (컬럼1 varchar(10));

    a
    홍길동
    SQL> select length(컬럼1) from 시험1;
    1
    1
    3
    SQL> select lengthb(컬럼1) from 시험1;
    2
    1
    6
    Character set : US7ASCII 인 경우
    =================================
    : single byte 7 bit encoding 을 사용합니다.
    한글로 된 table, column 이름 사용 시 double quote를 반드시 사용해야 한다.
    예)
    SQL> create table "사원"
    2 ("사원이름" varchar2(10));

    a
    홍길동
    SQL> select length("사원이름") from "사원";
    2
    1
    6
    SQL> select lengthb("사원이름") from "사원";
    2
    1
    6
    US7ASCII일 때에는 vsize, lengthb function의 결과가 length 함수와 모두
    동일합니다.
    cf) substr, substrb 함수도 위의 length, lengthb의 관계와 같음.

  • Convert CHARACTER in Oracle to TIMESTAMP

    Hi,
    One of the mapping in which our team works has one of the source columns from Oracle with Data type as timestamp.One of the sample data looks like
    13-OCT-06 03.10.52.448000 PM.
    When we pull in the data structure of source in Informatica, this column appears as a 'LONG RAW'. And it is moved forward in transformation as 'BINARY'.
    This mapping fails if we do no modification to the data types in Informatica. We manually edited it to 'DATE', it worked but the data comes out with no Millisecond value in the target; I.e. the data is truncated. We need to retain the milliseconds portion of the date as well.
    can anyone guide us how to convert CHARACTER in Oracle to TIMESTAMP, as we find the conversion can help us if we can not do it within Informatica
    thx

    TO_TIMESTAMP('13-OCT-06 03.10.52.448000 PM', 'DD-MON-RR HH12.MI.SS.FF AM')Regards...

  • Crystal Report Oracle ODBC driver invalid Thai character display problem

    Hi,
       My server has CR Oracle ODBC 5.1 installed on last week. We have several reports in the servers which called by our Application to export to text file and pdf file. Sometimes, the output (both text file and pdf file) can't display Thai character correctly. The text file show Thai character in question mark and pdf file show in square box. This problem occur randomly and disappear without doing anything. Sometimes the problem occur for an hour and gone but sometimes occur 10-15 minutes and gone. This problem also not happen every days. Once the problem occur, all reports with Thai character will fail.
       However, we have another server installed the same Application, same OS level, same OS patches and same CR Oracle ODBC driver version installed on the same time as above server (the problem server). This server does not have any problems.
       Any suggestions would be appreciated.
    Best Regards,
    Noppadon S.

    Hi Noppadon,
    Thank you for the info. If it happens randomly in their application then it's something they need to debug. Could even be in the ODBC driver.
    I suggest you tell them that because it works sometimes it shows the issue is likely in their software because if it failed all the time then it would be in Crystal dll's. They need to debug the problem, suggest they use tools like Process Monitor from www.sysinternals.com to step through to see where or what part is failing. If they having logging abilities that may help to find out what step is failing and in which API.
    At this point we have no way of determining where the problem is, it's failing in their application and no one but them know what or how they are using CR runtime files.
    If you can duplicate the problem using Crystal Report Designer then it's our problem, if not they have to help you to show us it is a CR issue.
    Sorry we can't be of more help but without know their code we can't suggest anything to try. Suggest they log a call with support here to help them debug the problem if they don't know what to do.
    Thank you
    Don

  • Java.sql.SQLException: Non supported character set: oracle-character-set-17

    Hi,
    i am trying to execute an Oracle procedure from JDBC. The procedure accepts a Nested table as an input parameter. Definition of the nested table is given below.
    Database – Oracle 10g.
    Application Server – JBOSS 4.2.1
    I get the following exception._
    java.sql.SQLException: Non supported character set: oracle-character-set-178
    at oracle.gss.util.NLSError.throwSQLException(NLSError.java:46)
    I.  JDBC  Code_
    Session s = HibernateUtil.getSession();
    Transaction tr = s.beginTransaction();
    con=s.connection();
    oraConn = (OracleConnection) con.getMetaData().getConnection();
    TableObject obj=new TableObject();
    obj.setId(new Integer(123));//Tested ok, stroing in DB
    obj.setDescr("test"); // this line throwing error
    obj.setCre_user(new Integer(456));
    obj.setUpd_user(new Integer(789));
    obj.setXfr_flag("Y");
    ArrayList al=new ArrayList();
    al.add(obj);
    Object[] objAray = al.toArray();
    ArrayDescriptor arrayDescriptor =ArrayDescriptor.createDescriptor("T_TEST_SYN", oraConn);
    ARRAY oracleArray = new ARRAY(arrayDescriptor, oraConn, objAray);
    cs = (OracleCallableStatement)oraConn.prepareCall("call PKG_OBJ_TEST.accept_ui_input(?) ");
    cs.setArray(1, oracleArray);
    cs.execute();
    tr.commit();
    public class TableObject implements SQLData{
    private String sql_type = "T_OBJ_TEST";
    private int id;
    private String descr;
    //private Date cre_date;
    private int cre_user;
    //private Date upd_date;
    private int upd_user;
    private String xfr_flag;
    public TableObject()
    public TableObject (int id,String descr,int cre_user,int upd_user,String xfr_flag)
    // this.sql_type = sql_type;
    this.id = id;
    this.descr = descr;
    // this.cre_date=cre_date;
    this.cre_user=cre_user;
    //this.upd_date=upd_date;
    this.upd_user=upd_user;
    this.xfr_flag=xfr_flag;
    public String getSQLTypeName() throws SQLException {
    return "T_OBJ_TEST";
    public void readSQL(SQLInput stream, String typeName) throws SQLException {
    //sql_type = typeName;
    id=stream.readInt();
    descr=stream.readString();
    //cre_date=stream.readDate();
    cre_user=stream.readInt();
    //upd_date=stream.readDate();
    upd_user=stream.readInt();
    xfr_flag=stream.readString();
    public void writeSQL(SQLOutput stream) throws SQLException {
    try {
    stream.writeInt(this.id);
    System.out.println("Iddddd");
    stream.writeString(this.descr);
    System.out.println("Desccccccccccccccc"+":"+descr);
    //stream.writeDate(cre_date);
    stream.writeInt(this.cre_user);
    System.out.println("userrrrrrrrrrrr");
    //stream.writeDate(upd_date);
    stream.writeInt(this.upd_user);
    System.out.println("upd uiserrrrrrrrrrr");
    stream.writeString(this.xfr_flag);
    System.out.println("flagggggggggggggggggggg"+xfr_flag);
    }catch (SQLException se) {
    System.out.println("Table object sql exception");
    se.printStackTrace();
    catch (Exception e) {
    System.out.println("Table object exception");
    * @return the id
    public int getId() {
    return id;
    * @param id the id to set
    public void setId(Object obj) {
    Integer iobj= (Integer)obj;
    this.id =iobj.intValue();
    * @return the descr
    public String getDescr() {
    System.out.println("getDescr "+descr);
    return descr;
    * @param descr the descr to set
    public void setDescr(Object obj) {
    System.out.println("setDescr "+obj);
    String sobj = (String)obj;
    this.descr=sobj.toString();
    System.out.println("setDescr "+obj);
    * @return the cre_user
    public int getCre_user() {
    return cre_user;
    * @param cre_user the cre_user to set
    public void setCre_user(Object obj) {
    Integer iobj=(Integer)obj;
    this.cre_user = iobj.intValue();
    * @return the upd_user
    public int getUpd_user() {
    return upd_user;
    * @param upd_user the upd_user to set
    public void setUpd_user(Object obj) {
    Integer iobj=(Integer)obj;
    this.upd_user = iobj.intValue();
    * @return the xfr_flag
    public String getXfr_flag() {
    return xfr_flag;
    * @param xfr_flag the xfr_flag to set
    public void setXfr_flag(Object obj) {
    this.xfr_flag = (String)xfr_flag;
    II.  Oracle database object details
    Details of Object and Nested table created in the database.
    T_TEST_SYN is a public synonym created for t_tab_obj_test
    CREATE OR REPLACE TYPE t_obj_test as object (
    id number(10),
    descr varchar2(100),
    --cre_date  date,
    cre_user number(10),
    --upd_date  date,
    upd_user number(10),
    xfr_flag varchar2(1),
    CONSTRUCTOR FUNCTION t_obj_test ( id IN NUMBER DEFAULT NULL,
    descr IN varchar2 default null,
    --cre_date  in date      default null,
    cre_user in number default null,
    --upd_date  in date      default null,
    upd_user in number default null,
    xfr_flag in varchar2 default null ) RETURN SELF AS RESULT ) ;
    CREATE OR REPLACE TYPE BODY t_obj_test as
    CONSTRUCTOR FUNCTION t_obj_test ( id IN NUMBER DEFAULT NULL,
    descr IN varchar2 default null,
    --cre_date  in date      default null,
    cre_user in number default null,
    --upd_date  in date      default null,
    upd_user in number default null,
    xfr_flag in varchar2 default null ) RETURN SELF AS RESULT IS
    BEGIN
    SELF.id := id ;
    SELF.descr := descr ;
    --SELF.cre_date  := cre_date ;
    SELF.cre_user := cre_user ;
    --SELF.upd_date  := cre_date ;
    SELF.upd_user := cre_user ;
    SELF.xfr_flag := xfr_flag ;
    RETURN ;
    END ;
    END ;
    CREATE OR REPLACE TYPE t_tab_obj_test AS TABLE OF t_obj_test ;
    CREATE OR REPLACE PACKAGE BODY PKG_OBJ_TEST AS
    PROCEDURE accept_ui_input ( p_tab_obj_test in T_TAB_OBJ_TEST ) IS
    BEGIN
    FOR row IN p_tab_obj_test.First .. p_tab_obj_test.LAST
    LOOP
    INSERT INTO OBJ_TEST ( ID,
    DESCR,
    CRE_DATE,
    CRE_USER,
    UPD_DATE,
    UPD_USER,
    XFR_FLAG )
    VALUES ( p_tab_obj_test(row).ID,
    p_tab_obj_test(row).DESCR,
    NULL,
    p_tab_obj_test(row).CRE_USER,
    NULL,
    p_tab_obj_test(row).UPD_USER,
    p_tab_obj_test(row).XFR_FLAG ) ;
    END LOOP ;
    COMMIT ;
    END accept_ui_input ;
    END PKG_OBJ_TEST;
    /

    Check your CLASSPATH enviroment variable. Try to add something like c:\Ora10g\jlib\orai18n.jar.
    From "JDBC Developer’s Guide and Reference":
    orai18n.jar
    Contains classes for globalization and multibyte character sets support
    This solved the same error in my case.

Maybe you are looking for

  • All pictures and videos gone after update to 1.1 o...

    I just updated to 1.1 When I open gallery there is no images or videos at all? How can I get it back?

  • Email Notification from OIM 11g

    Hi , Can anyone please explain in detail steps , how to configure /send notification from SOA . As i need to send notification to end user/manager etc..when an approval workflow is finished . Regards Sid

  • Help: MBP Using Intel GMA x3100 video

    After opening my MBP today to teach a class, the display was black as well as the projector I connected. I have used this projector many times with success. The display will not turn on now at all, even though everything else is working fine. My 20in

  • Zpca_c03, delta reset problem

    Hi All, I have a problem with the delta loads to ZPCA_C03. We have done full loads till March, monthly wise and set the delta init flag during a system down time. Again we happened to do December data re-load to the cube. As the cube is duplicated wi

  • Best RAW Image Processing for Canon Digital Rebel XT - PS Elements 6??

    I'm new to RAW image processing and image editing. I just bought a Canon digital Rebel XT. It comes with Canon Digital Professional 2.1 software. I also have Aperture upgraded to 1.5.6, which I have tried on JPEGs from an earlier digital camera that