SQLBrowseConnect() & SQLColAttribute()

Hello,
I am writing to you about a series of problems that I have while trying to connect to Oracle 11g through ODBC in a C++ application.
So, first of all, I downloaded Oracle 11g from Oracle’s website. I installed it in a Virtual Machine (Windows XP Professional – 32 bit). The VM is running on a Windows XP Professional x64.
The first problem that I have is using the ODBC SQLBrowseConnect() function.
The context is something like this:
TCHAR szConnect[1024];
TCHAR szResult[1024];
SQLSMALLINT cbRSize = 0;
SQLRETURN retcode = SQL_SUCCESS;
// szConnect has the following value: T(“Oracle in OraOdac11ghome1”);
memset(szResult, 0, sizeof(TCHAR) * 1024);
retcode = ::SQLBrowseConnect(m_hConn, szConnect, SQL_NTS, szResult, 1024, &cbRSize);
The response in szResult should be a list of Oracle servers. I read on a forum that Oracle does not have a broadcast service and reads the information it needs from tsnames.ora. I copied the tsnames.ora from the server (the virtual machine) to the local computer, I figured that at least that server will be listed in the response string. Bad luck!! The only things that I receive in the response list are some properties for the connection. It really does not qualifies as a valid response. Anyway… I kept searching for examples on how to connect to Oracle DB and I saw that the recommended way is through SQLDriverConnect(). I do not understand this thing, because SQLBrowseConnect() should provide the highest level of flexibility. Anyway… I created a little test section in the code to see if SQLDriverConnect() really works. After all the trouble that I had with SQLBrowseConnect() I had serious doubts about anything related to the ODBC implementation in Oracle.
To my surprise, I managed to connect to the Oracle server really quick. I connected with SYSTEM user. But here comes the tricky part.
When running queries from my application I try to get all the information I can from the server.
Example:
TCHAR szQuery[1024];
SQLRETURN retcode = SQL_SUCCESS;
SQLSMALLINT nColCount = 0;
TCHAR szColTableName[1024];
SQLSMALLINT cbColTableName = 0;
memset(szQuery, 0, sizeof(TCHAR) * 1024);
memset(szColTableName, 0, sizeof(TCHAR) * 1024);
tcscpy(szQuery, T(“Select * From Test”)); // Where test is a table with no data, just for test 
// The table is created under SYSTEM schema so… I should be able to get all the info I want
retcode = ::SQLPrepare(m_hStmt, szQuery, SQL_NTS);
// if fails exist from method with appropriate error code
retcode = ::SQLNumResultCols(m_hStmt, &nColCount);
// if fails skip the following for
for(SQLSMALLINT nColIdx = 0; nColIdx < nColCount; nColIdx ++)
retcode = ::SQLColAttribute(m_hStmt, nColIdx, SQL_COL_TABLE_NAME, &szColTableName, 1024, &cbColTableName, NULL);
I expected to see in szColTableName the string “Test”, but guess what the value in szColTableName was after I ran this section of code? Empty!!! And cbColTableName was 0.
In my app I really need the table name, so… created a for with nField from 0 to 50.000 to put as third parameter in SQLColAttribute. I thought that maybe Oracle is using different defines (who knows… strange things do happen there). Nothing. All I could get was the column name and column type. Other than this… NOTHING!!!
Can anyone help me in this issue?
Thanks in advance,
H

Calling SQLDescribeCol I get 19, 22, and 29 for col1, col2, col3 respectively as column size and 0 for decimal digits.
I really should be getting this info by calling SQLColAttribute SQL_DESC_PRECISION but since that does not work for this driver ( DataDirect ODBC Driver for Oracle returns the correct info for SQL_DESC_PRECISION as 19, 22 and 29 ), I have to implement a workaroudn only for Oracle ODBC driver to SQLDescribeCol and took at the column size for timestamp columns to figure out precision
if ( column type is SQL_TYPE_TIMESTAMP and precision == 19 )
precision = precision < 20 ? 0 : columnsize - 20
Obviously column size 20 does not make sense because that would be just a decimal point after the seconds part and fractions.
The Oracle driver has a bug with SQLColAttribute SQL_DESC_PRECISION since it returns the correct precision for DATE columns but not for TIMESTAMP columns that were introduced with 9i.
Thanks for the workaround.

Similar Messages

  • SQLBroseConnect() & SQLColAttribute()

    Hello,
    I am writing to you about a series of problems that I have while trying to connect to Oracle 11g through ODBC in a C++ application.
    So, first of all, I downloaded Oracle 11g from Oracle’s website. I installed it in a Virtual Machine (Windows XP Professional – 32 bit). The VM is running on a Windows XP Professional x64.
    The first problem that I have is using the ODBC SQLBrowseConnect() function.
    The context is something like this:
    TCHAR szConnect[1024];
    TCHAR szResult[1024];
    SQLSMALLINT cbRSize = 0;
    SQLRETURN retcode = SQL_SUCCESS;
    // szConnect has the following value: T(“Oracle in OraOdac11ghome1”);
    memset(szResult, 0, sizeof(TCHAR) * 1024);
    retcode = ::SQLBrowseConnect(m_hConn, szConnect, SQL_NTS, szResult, 1024, &cbRSize);
    The response in szResult should be a list of Oracle servers. I read on a forum that Oracle does not have a broadcast service and reads the information it needs from tsnames.ora. I copied the tsnames.ora from the server (the virtual machine) to the local computer, I figured that at least that server will be listed in the response string. Bad luck!! The only things that I receive in the response list are some properties for the connection. It really does not qualifies as a valid response. Anyway… I kept searching for examples on how to connect to Oracle DB and I saw that the recommended way is through SQLDriverConnect(). I do not understand this thing, because SQLBrowseConnect() should provide the highest level of flexibility. Anyway… I created a little test section in the code to see if SQLDriverConnect() really works. After all the trouble that I had with SQLBrowseConnect() I had serious doubts about anything related to the ODBC implementation in Oracle.
    To my surprise, I managed to connect to the Oracle server really quick. I connected with SYSTEM user. But here comes the tricky part.
    When running queries from my application I try to get all the information I can from the server.
    Example:
    TCHAR           szQuery[1024];
    SQLRETURN      retcode = SQL_SUCCESS;
    SQLSMALLINT      nColCount = 0;
    TCHAR          szColTableName[1024];
    SQLSMALLINT     cbColTableName = 0;
    memset(szQuery, 0, sizeof(TCHAR) * 1024);
    memset(szColTableName, 0, sizeof(TCHAR) * 1024);
    tcscpy(szQuery, T(“Select * From Test”));     // Where test is a table with no data, just for test 
                                  // The table is created under SYSTEM schema so… I should be able to get all the info I want
    retcode = ::SQLPrepare(m_hStmt, szQuery, SQL_NTS);
    // if fails exist from method with appropriate error code
    retcode = ::SQLNumResultCols(m_hStmt, &nColCount);
    // if fails skip the following for
    for(SQLSMALLINT nColIdx = 0; nColIdx < nColCount; nColIdx ++)
         retcode = ::SQLColAttribute(m_hStmt, nColIdx, SQL_COL_TABLE_NAME, &szColTableName, 1024, &cbColTableName, NULL);
    I expected to see in szColTableName the string “Test”, but guess what the value in szColTableName was after I ran this section of code? Empty!!! And cbColTableName was 0.
    In my app I really need the table name, so… created a for with nField from 0 to 50.000 to put as third parameter in SQLColAttribute. I thought that maybe Oracle is using different defines (who knows… strange things do happen there). Nothing. All I could get was the column name and column type. Other than this… NOTHING!!!
    Can anyone help me in this issue?
    Thanks in advance,
    Horia

    Hello,
    I will just enumerate some things because I am really not in the mood for your 'very not polite' way of putting words together.
    1. The problem is not that I chose ODBC. But since you asked, I need some API that will work on any DB (as ODBC should, but Oracle support for ODBC seems to be limited)... If you got better ideas than ODBC for a database independent connector, please share them (only please don't come up with OLEDB).
    2. I really would like you to explain why ODBC is "slower, buggier, and less secure other than a string tied between to soup cans". If you do, please come up with examples. Be sure I would test them.
    Thanks and keep up the good work!
    H.
    P.S.: Comments such as "And on Windows no less" are childish and... just lame.

  • Using SQLBrowseConnect

    I am trying to use SQLBrowseConnect to enumerate Oracle servers on the network.The connection string I am passing is "DRIVER={Oracle ODBC Driver};"
    I am able to connect to remote server using ODBCtest>I have also configured Net8 properly
    Any one please tell me what I need to do,How does Oracle register itself on the Local Network
    -Jp
    null

    Well, the driver does support the SQLBrowseConnect API call in that you can use it to get a list of all the parameters you can pass in a connect string. It doesn't allow you to search the network for Oracle databases, however, which is what you appear to be looking for.
    Part of the problem here is the way that TNS, the Transparent Network Substrate, works. Generally, you create entries in a file on each client machine (tnsnames.ora) that point to the databases you'd like to reach. There are, however, a number of other ways to identify machines, such as using an Oracle Names Server that bypass the tnsnames.ora file. The latter makes it much easier to "discover" available services, but requires some setup and isn't the default.
    Check out the Net8 Administrator's Guide for more information. http://technet.oracle.com/doc/network.815/a67440/ch2.htm#750510
    When I wrote the drop-down box that lets you pick a TNS name in the ODBC Data Source Administrator, I just parsed the tnsnames.ora file. I don't believe there's an API that will do it for you.
    Justin

  • Problem in getting column name by API "SQLColAttribute"

    The column name is "~<>#!@" (Japanese SBC case).
    Using Oracle ODBC driver, the result turns to be "?<>#!@" , the SBS case ~ (tilde) cannot be obtained correctlly.But there is no problem if the driver change to Microsoft ODBC for Oracle.
    Can anyone tell me how to get the correct character using Oracle ODBC dirver?
    Bye the way, my environment is "NLS_LANG=JAPANESE_JAPAN.JA16SJIS"

    Hi Nitin,
    Following is the specification for getRemoteHost()
    "Returns the fully qualified name of the client that sent the request, or the IP address of the client if the name cannot be determined. For HTTP servlets, same as the value of the CGI variable REMOTE_HOST." I think the same would be true for getHostName().....
    So, this can be one possiblity why ur given IP.

  • Error fetching data from a foxpro db using Oracle Gateway for ODBC

    Hi.
    I have an 10.2.0.1 database an a 11.2.0 Oracle Gateway for ODBC installed and configured.
    The dblink test works fine, I can connect with the foxpro database because if I execute desc centros I can see the
    columns of table centros.
    The problem comes when I try to execute Select * from centros@fox1;
    A syntax error is returned ([Microsoft][ODBC Visual FoxPro Driver]Syntax error. {42000,NativeErr = 200})
    I paste down the output of the trace file with HS_FDS_TRACE_LEVEL=255
    If I run select codcen from centros@fox1; another error is shown. Tell me if you want the other trace file.
    select codcen from centros@fox1
    ERROR en lÝnea 1:
    ORA-00904: "CODCEN": identificador no vßlido
    Oracle Corporation --- JUEVES MAY 31 2012 13:11:24.765
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- JUEVES MAY 31 2012 13:11:24.750
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    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 "UCS2"
    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 32 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 "DAVID"
    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:DAVID
    Exiting hgogprd, rc=0
    hostmstr: 2057416704:      HOA After hoagprd
    hostmstr: 2057416704:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2012/05/31-13:11:25
    Exiting hgolofn, rc=0 at 2012/05/31-13:11:25
    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 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2012/05/31-13:11:25
    hostmstr: 2057416704:      HOA After hoainit
    hostmstr: 2057416704:      HOA Before hoalgon
    Entered hgolgon at 2012/05/31-13:11:25
    reco:0, name:SYSTEM, tflag:0
    Entered hgosuec at 2012/05/31-13:11:25
    Exiting hgosuec, rc=0 at 2012/05/31-13:11:25
    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 SYSTEM as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/05/31-13:11:25
    HS_FDS_CONNECT_INFO = "Prueba_Foxpro"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/05/31-13:11:25
    dsn:Prueba_Foxpro, name:SYSTEM
    optn:
    Entered hgocip at 2012/05/31-13:11:25
    dsn:Prueba_Foxpro
    Exiting hgocip, rc=0 at 2012/05/31-13:11:25
    ##>Connect Parameters (len=39)<##
    ## DSN=Prueba_Foxpro;
    #! UID=SYSTEM;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/05/31-13:11:25
    Entered hgopoer at 2012/05/31-13:11:26
    hgopoer, line 233: got native error 0 and sqlstate 01000; message follows...
    [*Microsoft][Administrador de controladores ODBC] El controlador no admite una versión de ODBC distinta de la que la necesita la aplicación (vea SQLSetEnvAttr)*. {01000}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:26
    hgocont, line 2686: calling SqlDriverConnect got sqlstate 01000
    Entered hgolosf at 2012/05/31-13:11:26
    ODBC Function-Available-Array 0xFFFE 0x00FF 0xFF00 0xAA7F 0x03B3 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 0xEE00 0x395C
    Exiting hgolosf, rc=0 at 2012/05/31-13:11:26
    DriverName:VFPODBC.DLL, DriverVer:06.86.0001
    DBMS Name:Visual FoxPro, DBMS Version:03.00.0000
    Exiting hgocont, rc=0 at 2012/05/31-13:11:26 with error ptr FILE:hgocont.c LINE:2686 ID:SQLDriverConnect
    Entered hgopoer at 2012/05/31-13:11:26
    hgopoer, line 233: got native error 0 and sqlstate HYC00; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Driver not capable {HYC00}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:26
    hgolgon, line 795: calling SQLGetInfo got sqlstate HYC00
    SQLGetInfo returns N for SQL_CATALOG_NAME
    Exiting hgolgon, rc=0 at 2012/05/31-13:11:26 with error ptr FILE:hgolgon.c LINE:795 ID:GetInfo: Support catalogs
    hostmstr: 2036506624:      HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 2036506624: RPC Before Upload Caps
    hostmstr: 2036506624:      HOA Before hoaulcp
    Entered hgoulcp at 2012/05/31-13:11:26
    Entered hgowlst at 2012/05/31-13:11:26
    Exiting hgowlst, rc=0 at 2012/05/31-13:11:26
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:1, Isolation Option:0x2
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    16 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    capno:3042, context:0x00000000, add-info: 0, translation:"42"
    capno:3047, context:0x00000000, add-info: 0, translation:"57"
    capno:3049, context:0x00000000, add-info: 0, translation:"59"
    capno:3050, context:0x00000000, add-info: 0, translation:"60"
    capno:3066, context:0x00000000, add-info: 0
    capno:3067, context:0x00000000, add-info: 0
    capno:3068, context:0x00000000, add-info: 0
    capno:3069, context:0x00000000, add-info: 0
    capno:3500, context:0x00000001, add-info: 91, translation:"42"
    capno:3501, context:0x00000001, add-info: 93, translation:"57"
    capno:3502, context:0x00000001, add-info: 107, translation:"59"
    capno:3503, context:0x00000001, add-info: 110, translation:"60"
    Exiting hgoulcp, rc=0 at 2012/05/31-13:11:26
    hostmstr: 2036506624:      HOA After hoaulcp
    hostmstr: 2036506624: RPC After Upload Caps
    hostmstr: 2036506624: RPC Before Upload DDTR
    hostmstr: 2036506624:      HOA Before hoauldt
    Entered hgouldt at 2012/05/31-13:11:27
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2012/05/31-13:11:27
    hostmstr: 2036506624:      HOA After hoauldt
    hostmstr: 2036506624: RPC After Upload DDTR
    hostmstr: 2036506624: RPC Before Begin Trans
    hostmstr: 2036506624:      HOA Before hoabegn
    Entered hgobegn at 2012/05/31-13:11:27
    tflag:0 , initial:1
    hoi:0x12f094, ttid (len 54) is ...
    00: 54455354 2E524547 52455353 2E524442 [TEST.REGRESS.RDB]
    10: 4D532E44 45562E55 532E4F52 41434C45 [MS.DEV.US.ORACLE]
    20: 2E434F4D 2E663033 63383037 372E392E [.COM.f03c8077.9.]
    30: 34342E37 3735 [44.775]
    tbid (len 10) is ...
    0: 09002C00 07030000 0104 [..,.......]
    Exiting hgobegn, rc=0 at 2012/05/31-13:11:27
    hostmstr: 2036506624:      HOA After hoabegn
    hostmstr: 2036506624: RPC After Begin Trans
    hostmstr: 2036506624: RPC Before Describe Table
    hostmstr: 2036506624:      HOA Before hoadtab
    Entered hgodtab at 2012/05/31-13:11:27
    count:1
    table: CENTROS
    Entered hgopdsc at 2012/05/31-13:11:27
    Describing procedure CENTROS
    Output hoada
    hgopdsc, line 1426: NO hoada to print
    Exiting hgopdsc, rc=942 at 2012/05/31-13:11:27
    The hoada for table CENTROS follows...
    hgodtab, line 904: NO hoada to print
    Exiting hgodtab, rc=0 at 2012/05/31-13:11:27
    hostmstr: 2036506624:      HOA After hoadtab
    hostmstr: 2036506624: RPC After Describe Table
    hostmstr: 2036506624: RPC Before SQL Bundling
    hostmstr: 2036506624:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2012/05/31-13:11:27
    type:0
    SQL text from hgopars, id=1, len=23 ...
    00: 53454C45 4354202A 2046524F 4D202243 [SELECT * FROM "C]
    10: 454E5452 4F5322 [ENTROS"]
    Exiting hgopars, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoxpars
    hostmstr: 2036506624: RPC After SQL Bundling
    hostmstr: 2036506624: RPC Before SQL Bundling
    hostmstr: 2036506624:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2012/05/31-13:11:28
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoxopen
    hostmstr: 2036506624:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2012/05/31-13:11:28
    Allocate hoada @ 023E983C
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]*Descriptor type out of range* {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:1(codcen): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:2(litcen): dtype:1 (CHAR), prc/scl:45/0, nullbl:0, octet:45, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:3(codpos): dtype:1 (CHAR), prc/scl:5/0, nullbl:0, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:4(codprov): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:5(codmun): dtype:1 (CHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:6(codecol): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:7(codesin): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:8(cb): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:9(cs): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:10(digitocon): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:11(cuenta): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopcda at 2012/05/31-13:11:28
    Column:12(solar): dtype:2 (NUMERIC), prc/scl:5/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopcda at 2012/05/31-13:11:28
    Column:13(construido): dtype:2 (NUMERIC), prc/scl:5/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:14(domicen): dtype:1 (CHAR), prc/scl:40/0, nullbl:0, octet:40, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:15(telef): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:16(fax): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:17(cif): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:18(litloc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 910: Printing hoada @ 023E983C
    MAX:18, ACTUAL:18, 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
    1 CHAR N 8 8 0/ 0 0 0 200 codcen
    1 CHAR N 45 45 0/ 0 0 0 200 litcen
    1 CHAR N 5 5 0/ 0 0 0 200 codpos
    1 CHAR N 2 2 0/ 0 0 0 200 codprov
    1 CHAR N 3 3 0/ 0 0 0 200 codmun
    1 CHAR N 2 2 0/ 0 0 0 200 codecol
    1 CHAR N 2 2 0/ 0 0 0 200 codesin
    1 CHAR N 4 4 0/ 0 0 0 200 cb
    1 CHAR N 4 4 0/ 0 0 0 200 cs
    1 CHAR N 2 2 0/ 0 0 0 200 digitocon
    1 CHAR N 10 10 0/ 0 0 0 200 cuenta
    3 DECIMAL N 7 7 5/ 0 0 0 0 solar
    3 DECIMAL N 7 7 5/ 0 0 0 0 construido
    1 CHAR N 40 40 0/ 0 0 0 200 domicen
    1 CHAR N 11 11 0/ 0 0 0 200 telef
    1 CHAR N 11 11 0/ 0 0 0 200 fax
    1 CHAR N 11 11 0/ 0 0 0 200 cif
    1 CHAR N 30 30 0/ 0 0 0 200 litloc
    Exiting hgodscr, rc=0 at 2012/05/31-13:11:28 with error ptr FILE:hgodscr.c LINE:615 ID:Transfer Octet Length
    hostmstr: 2036506624:      HOA After hoxdscr
    hostmstr: 2036506624: RPC After SQL Bundling
    hostmstr: 2036506624: RPC Before SQL Bundling
    hostmstr: 2036506624:      HOA Before hoxclse
    Entered hgoclse, cursor id 1 at 2012/05/31-13:11:28
    Exiting hgoclse, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoxclse
    hostmstr: 2036506624:      HOA Before hoadafr
    Entered hgodafr, cursor id 1 at 2012/05/31-13:11:28
    Free hoada @ 023E983C
    Exiting hgodafr, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoadafr
    hostmstr: 2036506624:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2012/05/31-13:11:28
    type:0
    SQL text from hgopars, id=1, len=235 ...
    00: 53454C45 43542041 312E2263 6F646365 [SELECT A1."codce]
    10: 6E222C41 312E226C 69746365 6E222C41 [n",A1."litcen",A]
    20: 312E2263 6F64706F 73222C41 312E2263 [1."codpos",A1."c]
    30: 6F647072 6F76222C 41312E22 636F646D [odprov",A1."codm]
    40: 756E222C 41312E22 636F6465 636F6C22 [un",A1."codecol"]
    50: 2C41312E 22636F64 6573696E 222C4131 [,A1."codesin",A1]
    60: 2E226362 222C4131 2E226373 222C4131 [."cb",A1."cs",A1]
    70: 2E226469 6769746F 636F6E22 2C41312E [."digitocon",A1.]
    80: 22637565 6E746122 2C41312E 22736F6C ["cuenta",A1."sol]
    90: 6172222C 41312E22 636F6E73 74727569 [ar",A1."construi]
    A0: 646F222C 41312E22 646F6D69 63656E22 [do",A1."domicen"]
    B0: 2C41312E 2274656C 6566222C 41312E22 [,A1."telef",A1."]
    C0: 66617822 2C41312E 22636966 222C4131 [fax",A1."cif",A1]
    D0: 2E226C69 746C6F63 22204652 4F4D2022 [."litloc" FROM "]
    E0: 43454E54 524F5322 204131 [CENTROS" A1]
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 200 and sqlstate 42000; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Syntax error. {42000,NativeErr = 200}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgopars, line 457: calling SQLPrepare got sqlstate 42000
    Exiting hgopars, rc=28500 at 2012/05/31-13:11:28 with error ptr FILE:hgopars.c LINE:487 ID:Prepare stmt
    hostmstr: 2036506624:      HOA After hoxpars
    hostmstr: 2036506624: RPC After SQL Bundling

    The first issue I see is that Oracle 10.2.0.1 was never certified with DG4ODBC 11. Only 10.2.0.4 or 10.2.0.5 can be used as the Oracle database HS kernel requires a gateway compatibility patch and this patch is included in 10.2.0.4 or 10.2.0.5 Oracle database patch set.
    Then another error in the trace is that for each column description you have an error:
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]*Descriptor type out of range* {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    It seems it is not critical as DG4ODBC continues, but a more detailed analysis would require an ODBC trace.
    When looking at the table description it seems the column names are all in lower letters, for example: solar. So commonly Dg4ODBC needs to quote the names
    00: 53454C45 43542041 312E2263 6F646365 [SELECT A1."codce]
    10: 6E222C41 312E226C 69746365 6E222C41 [n",A1."litcen",A]
    20: 312E2263 6F64706F 73222C41 312E2263 [1."codpos",A1."c]
    30: 6F647072 6F76222C 41312E22 636F646D [odprov",A1."codm]
    40: 756E222C 41312E22 636F6465 636F6C22 [un",A1."codecol"]
    50: 2C41312E 22636F64 6573696E 222C4131 [,A1."codesin",A1]
    60: 2E226362 222C4131 2E226373 222C4131 [."cb",A1."cs",A1]
    70: 2E226469 6769746F 636F6E22 2C41312E [."digitocon",A1.]
    80: 22637565 6E746122 2C41312E 22736F6C ["cuenta",A1."sol]
    90: 6172222C 41312E22 636F6E73 74727569 [ar",A1."construi]
    A0: 646F222C 41312E22 646F6D69 63656E22 [do",A1."domicen"]
    B0: 2C41312E 2274656C 6566222C 41312E22 [,A1."telef",A1."]
    C0: 66617822 2C41312E 22636966 222C4131 [fax",A1."cif",A1]
    D0: 2E226C69 746C6F63 22204652 4F4D2022 [."litloc" FROM "]
    E0: 43454E54 524F5322 204131 [CENTROS" A1]
    and according to the trace the FoxPro ODBC driver doesn't like these quotes and reports a syntax error.
    So this explains at least why select codcen from centros@fox1 will fail. In general the Oracle database is case insensitive and translates all object names to upper case and the select it will pass to the foreign database would be similar to:
    select CODCEN from CENTROS => which will fail as FoxPro is case sensitive. So the error message ORA-00904 (missing column name) is correct and the statement you need to use is:
    select "codcen" from centros@fox1;
    But this might lead again to the Syntax error you got earlier => You need to check which sign (single quote, back tick, double quote) Foxpro uses to quote object names and then set the gateway parameter HS_FDS_QUOTE_IDENTIFIER accordingly.
    To check which character can be used to quote column/table names you might use the Microsoft ODBc test utility which was distributed in the old MDAC 2.8:
    http://www.microsoft.com/downloads/details.aspx?familyid=5067faf8-0db4-429a-b502-de4329c8c850&displaylang=en
    Edited by: kgronau on Jun 1, 2012 7:27 AM
    If you know where I can download the MS FoxPro ODBC driver, please let me know and I'll check.

  • Error while accessing DBlink to mysql

    Getting following error (trace file content) when querying suing the DB link (select * from "DeviceWindows_Devices"@monolith2.us.oracle.com;)
    table: DeviceWindows_Devices
    Entered hgopcda at 2012/11/15-18:56:59
    Column:1(WindowID): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2012/11/15-18:56:59
    Entered hgopcda at 2012/11/15-18:56:59
    Column:2(DeviceID): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2012/11/15-18:56:59
    The hoada for table DeviceWindows_Devices follows...
    hgodtab, line 651: Printing hoada @ 0x281a100
    MAX:2, ACTUAL:2, BRC:1, WHT=6 (TABLE_DESCRIBE)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER N 4 4 0/ 0 0 0 0 WindowID
    4 INTEGER N 4 4 0/ 0 0 0 0 DeviceID
    Exiting hgodtab, rc=0 at 2012/11/15-18:56:59
    Entered hgodafr, cursor id 0 at 2012/11/15-18:56:59
    Exiting hgodafr, rc=0 at 2012/11/15-18:56:59
    Entered hgopars, cursor id 1 at 2012/11/15-18:56:59
    type:0
    SQL text from hgopars, id=1, len=60 ...
    00: 53454C45 43542041 312E5769 6E646F77 [SELECT A1.Window]
    10: 49442C41 312E4465 76696365 49442046 [ID,A1.DeviceID F]
    20: 524F4D20 44657669 63655769 6E646F77 [ROM DeviceWindow]
    30: 735F4465 76696365 73204131 [s_Devices A1]
    Exiting hgopars, rc=0 at 2012/11/15-18:56:59
    Entered hgoopen, cursor id 1 at 2012/11/15-18:56:59
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2012/11/15-18:56:59
    Entered hgodscr, cursor id 1 at 2012/11/15-18:56:59
    Entered hgopcda at 2012/11/15-18:56:59
    Column:1(WindowID): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:0, radix:0
    Exiting hgopcda, rc=0 at 2012/11/15-18:56:59
    Entered hgopcda at 2012/11/15-18:56:59
    Column:2(DeviceID): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:0, radix:0
    Exiting hgopcda, rc=0 at 2012/11/15-18:56:59
    Entered hgopoer at 2012/11/15-18:56:59
    hgopoer, line 159: got native error 0 and sqlstate HY092; message follows...
    [unixODBC][Driver Manager]Invalid attribute/option identifier
    Exiting hgopoer, rc=0 at 2012/11/15-18:56:59
    hgodscr, line 456: calling SQLSetStmtAttr got sqlstate HY092
    hgodscr, line 506: NO hoada to print
    Exiting hgodscr, rc=28500 at 2012/11/15-18:56:59 with error ptr FILE:hgodscr.c LINE:456 FUNCTION:hgodscr() ID:Set array fetch size
    Driver : ODBC 5.2(w) Driver
    Oracle Database: 11.1.0.7
    Mysql Database: 5.5.20
    Able to connect from isql and select commands also works fine from there
    -bash-3.2$ isql -v monolith_itasmon
    | Connected! |
    | |
    | sql-statement |
    | help [tablename] |
    | quit |
    | |
    Please help in resolving this, thanks in advance.
    Thanks,
    Vani
    Edited by: user580543 on Nov 16, 2012 2:10 AM

    Hi ,
    Sorry for the delay.
    Please find the trace file.
    Thanks,
    Vani
    [ODBC][26106][__handles.c][444]
              Exit:[SQL_SUCCESS]
                   Environment = 0x532c160
    [ODBC][26106][SQLSetEnvAttr.c][182]
              Entry:
                   Environment = 0x532c160
                   Attribute = SQL_ATTR_ODBC_VERSION
                   Value = 0x3
                   StrLen = -6
    [ODBC][26106][SQLSetEnvAttr.c][349]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLAllocHandle.c][345]
              Entry:
                   Handle Type = 2
                   Input Handle = 0x532c160
    [ODBC][26106][SQLAllocHandle.c][463]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x5361780
    [ODBC][26106][SQLSetConnectAttr.c][318]
              Entry:
                   Connection = 0x5361780
                   Attribute = SQL_ATTR_AUTOCOMMIT
                   Value = (nil)
                   StrLen = -5
    [ODBC][26106][SQLSetConnectAttr.c][500]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLDriverConnect.c][678]
              Entry:
                   Connection = 0x5361780
                   Window Hdl = (nil)
                   Str In = [DSN=MONOLITH_ITASMON;UID=itasmon;PWD=********][length = 45]
                   Str Out = 0x5363848
                   Str Out Max = 1024
                   Str Out Ptr = 0x7fffe146fe44
                   Completion = 0
              UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'
    [ODBC][26106][SQLDriverConnect.c][1487]
              Exit:[SQL_SUCCESS]
                   Connection Out [[DSN=MONOLITH_ITASMON;UID=itasmon;PWD=********][length = 45 (SQL_NTS)]]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_DRIVER_NAME (6)
                   Info Value = 0x7fffe146fb20
                   Buffer Length = 512
                   StrLen = 0x7fffe146fe48
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_DRIVER_VER (7)
                   Info Value = 0x7fffe146fb20
                   Buffer Length = 512
                   StrLen = 0x7fffe146fe48
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_DBMS_NAME (17)
                   Info Value = 0x7fffe146fb20
                   Buffer Length = 512
                   StrLen = 0x7fffe146fe48
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_DBMS_VER (18)
                   Info Value = 0x7fffe146fb20
                   Buffer Length = 512
                   StrLen = 0x7fffe146fe48
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_CATALOG_NAME (10003)
                   Info Value = 0x7fffe146fe90
                   Buffer Length = 512
                   StrLen = 0x7fffe1470124
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_IDENTIFIER_QUOTE_CHAR (29)
                   Info Value = 0x7fffe146fd60
                   Buffer Length = 512
                   StrLen = 0x7fffe147021c
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_COLUMN_ALIAS (87)
                   Info Value = 0x7fffe146fd60
                   Buffer Length = 512
                   StrLen = 0x7fffe147021c
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_NO_DATA]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_INTEGER
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_SMALLINT
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_NO_DATA]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_SMALLINT
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_VARBINARY
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_NO_DATA]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_BIGINT
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_NO_DATA]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_BIGINT
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_TINYINT
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_NO_DATA]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_TINYINT
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_LONGVARCHAR
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetTypeInfo.c][164]
              Entry:
                   Statement = 0x538ae20
                   Data Type = SQL_LONGVARBINARY
    [ODBC][26106][SQLGetTypeInfo.c][314]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 2
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLEndTran.c][315]
              Entry:
                   Connection = 0x5361780
                   Completion Type = 0
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_CURSOR_COMMIT_BEHAVIOR (23)
                   Info Value = 0x7fffe14700de
                   Buffer Length = 8
                   StrLen = 0x7fffe14700dc
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLEndTran.c][488]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_TXN_CAPABLE (46)
                   Info Value = 0x7fffe1470274
                   Buffer Length = 2
                   StrLen = 0x7fffe1470278
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLGetInfo.c][214]
              Entry:
                   Connection = 0x5361780
                   Info Type = SQL_TXN_ISOLATION_OPTION (72)
                   Info Value = 0x7fffe1470270
                   Buffer Length = 4
                   StrLen = 0x7fffe1470278
    [ODBC][26106][SQLGetInfo.c][528]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLSetConnectAttr.c][318]
              Entry:
                   Connection = 0x5361780
                   Attribute = SQL_ATTR_TXN_ISOLATION
                   Value = 0x2
                   StrLen = -5
    [ODBC][26106][SQLSetConnectAttr.c][671]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeHandle.c][365]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x538ae20
    [ODBC][26106][SQLFreeHandle.c][462]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLAllocHandle.c][510]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x5361780
    [ODBC][26106][SQLAllocHandle.c][872]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x538ae20
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 4
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x7fffe1470028
                   Buffer Length = 124
                   StrLen Or Ind = 0x7fffe1470110
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 5
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe14701c0
                   Buffer Length = 0
                   StrLen Or Ind = (nil)
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 6
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x7fffe146ffb0
                   Buffer Length = 120
                   StrLen Or Ind = 0x7fffe1470108
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 7
                   Target Type = -16 SQL_C_SLONG
                   Target Value = 0x7fffe14701a8
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe1470130
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 9
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe14701cc
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe1470128
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 10
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe14701c4
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe1470120
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 11
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe14701c8
                   Buffer Length = 0
                   StrLen Or Ind = (nil)
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLBindCol.c][165]
              Entry:
                   Statement = 0x538ae20
                   Column Number = 16
                   Target Type = -16 SQL_C_SLONG
                   Target Value = 0x7fffe14701a4
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe1470118
    [ODBC][26106][SQLBindCol.c][251]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLColumns.c][208]
              Entry:
                   Statement = 0x538ae20
                   Catalog Name = [NULL]
                   Schema Name = [itasmon][length = 7]
                   Table Name = [DeviceWindows_Devices][length = 21]
                   Column Type = [NULL]
    [ODBC][26106][SQLColumns.c][405]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFetch.c][158]
              Entry:
                   Statement = 0x538ae20
    [ODBC][26106][SQLFetch.c][340]
              Exit:[SQL_NO_DATA]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 0
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLFreeStmt.c][140]
              Entry:
                   Statement = 0x538ae20
                   Option = 2
    [ODBC][26106][SQLFreeStmt.c][246]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLAllocHandle.c][510]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x5361780
    [ODBC][26106][SQLAllocHandle.c][872]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x53bdd30
    [ODBC][26106][SQLPrepare.c][189]
              Entry:
                   Statement = 0x53bdd30
                   SQL = [SELECT A1.WindowID,A1.DeviceID FROM DeviceWindows_Devices A1][length = 60]
    [ODBC][26106][SQLPrepare.c][364]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLNumResultCols.c][149]
              Entry:
                   Statement = 0x53bdd30
                   Column Count = 0x532c880
    [ODBC][26106][SQLNumResultCols.c][234]
              Exit:[SQL_SUCCESS]
                   Count = 0x532c880 -> 2
    [ODBC][26106][SQLExecute.c][183]
              Entry:
                   Statement = 0x53bdd30
    [ODBC][26106][SQLExecute.c][344]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLDescribeCol.c][231]
              Entry:
                   Statement = 0x53bdd30
                   Column Number = 1
                   Column Name = 0x7fffe146ff00
                   Buffer Length = 30
                   Name Length = 0x7fffe1470044
                   Data Type = 0x7fffe1470040
                   Column Size = 0x7fffe146ffe8
                   Decimal Digits = 0x7fffe147003c
                   Nullable = 0x7fffe1470038
    [ODBC][26106][SQLDescribeCol.c][474]
              Exit:[SQL_SUCCESS]
                   Column Name = [WindowID]
                   Data Type = 0x7fffe1470040 -> 4
                   Column Size = 0x7fffe146ffe8 -> 10
                   Decimal Digits = 0x7fffe147003c -> 0
                   Nullable = 0x7fffe1470038 -> 0
    [ODBC][26106][SQLColAttribute.c][277]
              Entry:
                   Statement = 0x53bdd30
                   Column Number = 1
                   Field Identifier = SQL_DESC_UNSIGNED
                   Character Attr = (nil)
                   Buffer Length = 0
                   String Length = (nil)
                   Numeric Attribute = 0x7fffe146fff0
    [ODBC][26106][SQLColAttribute.c][648]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLDescribeCol.c][231]
              Entry:
                   Statement = 0x53bdd30
                   Column Number = 2
                   Column Name = 0x7fffe146ff00
                   Buffer Length = 30
                   Name Length = 0x7fffe1470044
                   Data Type = 0x7fffe1470040
                   Column Size = 0x7fffe146ffe8
                   Decimal Digits = 0x7fffe147003c
                   Nullable = 0x7fffe1470038
    [ODBC][26106][SQLDescribeCol.c][474]
              Exit:[SQL_SUCCESS]
                   Column Name = [DeviceID]
                   Data Type = 0x7fffe1470040 -> 4
                   Column Size = 0x7fffe146ffe8 -> 10
                   Decimal Digits = 0x7fffe147003c -> 0
                   Nullable = 0x7fffe1470038 -> 0
    [ODBC][26106][SQLColAttribute.c][277]
              Entry:
                   Statement = 0x53bdd30
                   Column Number = 2
                   Field Identifier = SQL_DESC_UNSIGNED
                   Character Attr = (nil)
                   Buffer Length = 0
                   String Length = (nil)
                   Numeric Attribute = 0x7fffe146fff0
    [ODBC][26106][SQLColAttribute.c][648]
              Exit:[SQL_SUCCESS]
    [ODBC][26106][SQLSetStmtAttr.c][243]
              Entry:
                   Statement = 0x53bdd30
                   Attribute = SQL_ATTR_ROW_ARRAY_SIZE
                   Value = 0x1
                   StrLen = 0
    [ODBC][26106][SQLSetStmtAttr.c][636]Error: HY092
    [ODBC][26106][SQLGetDiagRec.c][710]
              Entry:
                   Statement = 0x53bdd30
                   Rec Number = 1
                   SQLState = 0x7fffe146fe48
                   Native = 0x7fffe146fec0
                   Message Text = 0x7fffe146fc30
                   Buffer Length = 510
                   Text Len Ptr = 0x7fffe146fec4
    [ODBC][26106][SQLGetDiagRec.c][747]
              Exit:[SQL_SUCCESS]
                   SQLState = HY092
                   Native = 0x7fffe146fec0 -> 0
                   Message Text = [[unixODBC][Driver Manager]Invalid attribute/option identifier]
    [ODBC][26106][SQLGetDiagRec.c][710]
              Entry:
                   Statement = 0x53bdd30
                   Rec Number = 2
                   SQLState = 0x7fffe146fe48
                   Native = 0x7fffe146fec0
                   Message Text = 0x7fffe146fc30
                   Buffer Length = 510
                   Text Len Ptr = 0x7fffe146fec4
    [ODBC][26106][SQLGetDiagRec.c][747]
              Exit:[SQL_NO_DATA]

  • [Oracle to PostgreSQL]connction string lacks some options

    Hi guys,
    I want to connect from oracle 11g to PostgreSQL 9.3 . l get this error message:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC]connction string lacks some options {08001,NativeErr = 202}
    ORA-02063: preceding 2 lines from k
    but I can connected to PostgreSQL using isql.
    Oracle CharacterSet :AL32UTF8
    PostgreSQL server_encoding:UTF8
    PostgreSQL client_encoding:UTF8
    Here are my configuration files:
    odbc.ini:
    [PostgreSQL]
    Driver = /usr/local/pgsqlodbc/lib/psqlodbcw.so
    Description = Test2PG
    Servername = 192.168.0.1
    PORT = 5432
    Protocol = 9.3
    UserName = postgres
    Password = postgres
    Database = testdb
    TRACE =Yes
    TaceFile = /tmp/sql.log
    tnsnames.ora:
    PostgreSQL =
    (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.10)(PORT = 1521))
       (CONNECT_DATA =(SID = PostgreSQL)
      (HS =OK)
    listener.ora:
    SID_LIST_LISTENER=
      (SID_LIST=
        (SID_DESC=
          (SID_NAME=PostgreSQL)
          (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
          (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
          (PROGRAM=dg4odbc)
    initiPostgreSQL.ora:
    HS_FDS_CONNECT_INFO = PostgreSQL
    HS_FDS_TRACE_LEVEL = 255
    HS_FDS_SHAREABLE_NAME = /usr/local/unixodbc/lib/libodbc.so
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    set ODBCINI=/etc/odbc.ini
    Trace:
    Oracle Corporation --- THURSDAY  MAY 15 2014 15:59:19.875
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- THURSDAY  MAY 15 2014 15:59:19.874
        Version 11.2.0.3.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    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_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"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    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 32 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 "PostgreSQL"
    Product-Info:
      Port Rls/Upd:3/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:PostgreSQL
    Exiting hgogprd, rc=0
    hostmstr:          0: HOA After hoagprd
    hostmstr:          0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2014/05/15-15:59:19
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixodbc/lib/libodbc.so"
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0x522520
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0x5226c0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0x523110
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0x524930
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0x52e120
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0x52e670
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0x531b50
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0x5336b0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0x534070
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0x5361e0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0x536210
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0x537fd0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0x53bc40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0x53c040
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0x53e0d0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0x53f030
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0x53f3f0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0x541a40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0x541f30
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0x5447f0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0x544570
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0x5254a0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0x527280
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0x52b600
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0x52d8c0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0x52f420
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0x532ff0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0x534bc0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0x536670
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0x538800
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0x538ea0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0x53a350
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0x53b220
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0x53cbd0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0x53cf60
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0x53dc40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0x53fce0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0x540340
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0x540ae0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0x541300
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0x542270
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0x546050
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0x5440d0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0x548140
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0x5491b0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Exiting hgolofn, rc=0 at 2014/05/15-15:59:19
    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 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2014/05/15-15:59:19
    hostmstr:          0: HOA After hoainit
    hostmstr:          0: HOA Before hoalgon
    Entered hgolgon at 2014/05/15-15:59:19
    reco:0, name:postgres, tflag:0
    Entered hgosuec at 2014/05/15-15:59:19
    Exiting hgosuec, rc=0 at 2014/05/15-15:59:19
    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 postgres as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2014/05/15-15:59:19
    HS_FDS_CONNECT_INFO = "PostgreSQL"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2014/05/15-15:59:19
    dsn:PostgreSQL, name:postgres
    optn:
    Entered hgocip at 2014/05/15-15:59:19
    dsn:PostgreSQL
    Exiting hgocip, rc=0 at 2014/05/15-15:59:19
    ##>Connect Parameters (len=40)<##
    ## DSN=PostgreSQL;
    #! UID=postgres;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2014/05/15-15:59:19
    Entered hgopoer at 2014/05/15-15:59:19
    hgopoer, line 231: got native error 202 and sqlstate 08001; message follows...
    [unixODBC]connction string lacks some options {08001,NativeErr = 202}
    Exiting hgopoer, rc=0 at 2014/05/15-15:59:19
    hgocont, line 2754: calling SqlDriverConnect got sqlstate 08001
    Exiting hgocont, rc=28500 at 2014/05/15-15:59:19 with error ptr FILE:hgocont.c LINE:2774 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2014/05/15-15:59:19 with error ptr FILE:hgolgon.c LINE:801 FUNCTION:hgolgon() ID:Calling hgocont
    hostmstr:          0: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr:          0: RPC Before Exit Agent
    hostmstr:          0: HOA Before hoaexit
    Entered hgoexit at 2014/05/15-15:59:19
    Exiting hgoexit, rc=0
    hostmstr:          0: HOA After hoaexit
    hostmstr:          0: RPC After Exit Agent
    ODBC Trace:
    [ODBC][6580][1400140759.882270][SQLSetConnectAttr.c][396]
      Entry:
      Connection = 0x90bd960
      Attribute = SQL_ATTR_AUTOCOMMIT
      Value = (nil)
      StrLen = -5
    [ODBC][6580][1400140759.882326][SQLSetConnectAttr.c][671]
      Exit:[SQL_SUCCESS]
    [ODBC][6580][1400140759.882642][SQLDriverConnect.c][728]
      Entry:
      Connection = 0x90bd960
      Window Hdl = (nil)
      Str In = [DSN=PostgreSQL;UID=postgres;PWD=********][length = 40]
      Str Out = 0x90bd200
      Str Out Max = 1024
      Str Out Ptr = 0xbfd1e25c
      Completion = 0
      UNICODE Using encoding ASCII 'ANSI_X3.4-1968' and UNICODE 'UCS-2LE'
      DIAG [08001] connction string lacks some options
    [ODBC][6580][1400140759.887954][SQLDriverConnect.c][1454]
      Exit:[SQL_ERROR]
    [ODBC][6580][1400140759.888032][SQLGetDiagRec.c][680]
      Entry:
      Connection = 0x90bd960
      Rec Number = 1
      SQLState = 0xbfd1df58
      Native = 0xbfd1df7c
      Message Text = 0xbfd1dd20
      Buffer Length = 510
      Text Len Ptr = 0xbfd1df94
    [ODBC][6580][1400140759.888065][SQLGetDiagRec.c][717]
      Exit:[SQL_SUCCESS]
      SQLState = 08001
      Native = 0xbfd1df7c -> 202
      Message Text = [[unixODBC]connction string lacks some options]
    [ODBC][6580][1400140759.888108][SQLGetDiagRec.c][680]
      Entry:
      Connection = 0x90bd960
      Rec Number = 2
      SQLState = 0xbfd1df58
      Native = 0xbfd1df7c
      Message Text = 0xbfd1dd20
      Buffer Length = 510
      Text Len Ptr = 0xbfd1df94
    [ODBC][6580][1400140759.888136][SQLGetDiagRec.c][717]
      Exit:[SQL_NO_DATA]
    [ODBC][6580][1400140759.888222][SQLDisconnect.c][208]
      Entry:
      Connection = 0x90bd960
    [ODBC][6580][1400140759.888250][SQLDisconnect.c][237]Error: 08003
    [ODBC][6580][1400140759.888319][SQLFreeHandle.c][284]
      Entry:
      Handle Type = 2
      Input Handle = 0x90bd960
    [ODBC][6580][1400140759.888352][SQLFreeHandle.c][333]
      Exit:[SQL_SUCCESS]
    [ODBC][6580][1400140759.889499][SQLFreeHandle.c][219]
      Entry:
      Handle Type = 1
      Input Handle = 0x90abf70
    Thank you.

    When looking at the strace file the Driver Manager tries to load the odbc.ini you specified in your gateway init file: set ODBCINI=/etc/odbc.ini
    but that fails as the oracle user can not access it - instead it tries to load a different file:
    17811 open("/etc/odbc.ini", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied)
    17811 open("/usr/local/unixodbc/etc/odbc.ini", O_RDONLY) = 8
    Could you please make sure that the oracle user can access that file?
    You also mentioned at the beginning that you could connect to the Postgres database using isql - did you do the test as "oracle" user and what ENV parameters have you set before opening isql?
    Just a minor issue which has no impact as your LD_LIBRARY_PATH in the environment is set correctly - the listener.ora file contains the line
    (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
    but EVNS should be ENVS or even better ENV. So please correct:
    (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
    to
    (ENV="LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin")
    Then stop and start the listener.
    - Klaus

  • Automatically create ODBC DSN connection with special port and password. Add-OdbcDsn cmdlet

    Hi,
    I first posted a question in the SQL forum but I'm posting it here instead because its a Powershell question.
    In a non-persitent VDI enviroment we are trying to automatically create a ODBC DSN connection to a SQL server.
    We are using Windows 8.1 so we also have Powershell 4 together with the add-odbcdsn cmdlet. 
    But when trying to add set -SetPropertyValue for network port different than default and a password we get an error.
    here is the command:
    Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @("PWD=test", "SERVER=10.0.0.1")
    and here is the error message:
    Add-OdbcDsn : Attempt to set the {UID or PWD} key of a DSN. These keys should not be stored in the registry for securit
    y reason. Provide the credential information at runtime via SQLDriverConnect, SQLConnect or SQLBrowseConnect.
    At line:1 char:1
    + Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (MSFT_OdbcDsnTask:Root/Microsoft/...SFT_OdbcDsnTask) [Add-OdbcDsn], Cim
    Exception
    + FullyQualifiedErrorId : MI RESULT 4,Add-OdbcDsn
    NB!:  this command does not contain a port number, but when adding it without a password(PWD string) we just the default port.

    Hi Primeid,
    Agree with Jrv, we cannot store  UID and PWD in an ODBC datasource, For example, you can create a DSN using the user interface but if you look at the DSN stored in the registry the UID and PWD are not stored.
    ODBC it is always required when you connect using a DSN that the caller supply UID and PWD if they want to use standard login during connection time. 
    These similar discussion are for your reference:
    Creating ODBC DSN for SQL Native
    Client fails for not-integrated authentication
    is user name and password required in ODBC admin / User DSN?
    In addition, to read data from a SQL Server database using an ODBC DSN with SQL Authentication via powershell, please refer to this script:
    Open SQL database with ODBC DSN and SQL AuthenticationIf
    there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Getting the name of the table of a column in a result

    I am connected via ODBC (3.52) to an Oracle 8i Db in a Windows 2000 application and want to get the name of the table a column of the result belongs to. I tried SQLColAttribute and SQLGetDescField with SQL_DESC_TABLE_NAME (that works fine with MsAccess), but always get an empty string. Is there another way of getting such information, or do I need another driver, or am I lost in space and time now?

    You can query ALL_TAB_COLS directly if you want.

  • DG4ODBC returns garbage on select on my custom ODBC Driver.

    I have a custom  ANSI ODBC driver on used in Windows 2008 Server. When I select I get garbage characters.
    My Sql Statement -  select name from abc@link should return 'abc'.
    Using select dump(name, 10) from abc@link returns -
    Typ = 1 Len = 72: 216, 82, 25, 5, 0, 0, 0, 0, 0, 00, 0, 0, 
    I can Describe tables, do updates. Just the select statement has issue.

    dg4odbcdg4odbc  427c-41c4 ENTER SQLAllocHandle
      SQLSMALLINT                  1 <SQL_HANDLE_ENV>
      SQLHANDLE           0x0000000000000000
      SQLHANDLE *         0x00000000051E5590
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  1 <SQL_HANDLE_ENV>
      SQLHANDLE           0x0000000000000000
      SQLHANDLE *         0x00000000051E5590 ( 0x0000000003F0B0D0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetEnvAttr
      SQLHENV             0x0000000003F0B0D0
      SQLINTEGER                 200 <SQL_ATTR_ODBC_VERSION>
      SQLPOINTER                 3 <SQL_OV_ODBC3>
      SQLINTEGER                  -6
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetEnvAttr  with return code 0 (SQL_SUCCESS)
      SQLHENV             0x0000000003F0B0D0
      SQLINTEGER                 200 <SQL_ATTR_ODBC_VERSION>
      SQLPOINTER                 3 <SQL_OV_ODBC3>
      SQLINTEGER                  -6
    dg4odbcdg4odbc  427c-41c4 ENTER SQLAllocHandle
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0x0000000003F0B0D0
      SQLHANDLE *         0x00000000051E5598
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0x0000000003F0B0D0
      SQLHANDLE *         0x00000000051E5598 ( 0x0000000003F0B1A0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetConnectAttr
      SQLHDBC             0x0000000003F0B1A0
      SQLINTEGER                 104 <SQL_ATTR_TRACE>
      SQLPOINTER                 1 <SQL_OPT_TRACE_ON>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetConnectAttr  with return code 0 (SQL_SUCCESS)
      SQLHDBC             0x0000000003F0B1A0
      SQLINTEGER                 104 <SQL_ATTR_TRACE>
      SQLPOINTER                 1 <SQL_OPT_TRACE_ON>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetConnectAttr
      SQLHDBC             0x0000000003F0B1A0
      SQLINTEGER                 102 <SQL_ATTR_AUTOCOMMIT>
      SQLPOINTER                 0 <SQL_AUTOCOMMIT_OFF>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetConnectAttr  with return code 0 (SQL_SUCCESS)
      SQLHDBC             0x0000000003F0B1A0
      SQLINTEGER                 102 <SQL_ATTR_AUTOCOMMIT>
      SQLPOINTER                 0 <SQL_AUTOCOMMIT_OFF>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 ENTER SQLDriverConnectW
      HDBC                0x0000000003F0B1A0
      HWND                0x0000000000000000
      WCHAR *             0x000007FEECCD8F08 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x000007FEECCD8F08
      SWORD                       -3
      SWORD *             0x0000000000000000
      UWORD                        0 <SQL_DRIVER_NOPROMPT>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLDriverConnectW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      HWND                0x0000000000000000
      WCHAR *             0x000007FEECCD8F08 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x000007FEECCD8F08 <Invalid buffer length!> [-3]
      SWORD                       -3
      SWORD *             0x0000000000000000
      UWORD                        0 <SQL_DRIVER_NOPROMPT>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetFunctions
      HDBC                0x0000000003F0B1A0
      UWORD                      999
      UWORD *             0x00000000051E5310
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetFunctions  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                      999
      UWORD *             0x00000000051E5310 (65534)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                        6 <SQL_DRIVER_NAME>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012E8CC
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                        6 <SQL_DRIVER_NAME>
      PTR                 0x0000000003F0D0E0 [      24] "IP21ODBC.DLL"
      SWORD                     1024
      SWORD *             0x000000000012E8CC (24)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                        7 <SQL_DRIVER_VER>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012E8CC
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                        7 <SQL_DRIVER_VER>
      PTR                 0x0000000003F0D0E0 [      20] "03.00.0000"
      SWORD                     1024
      SWORD *             0x000000000012E8CC (20)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       17 <SQL_DBMS_NAME>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012E8CC
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       17 <SQL_DBMS_NAME>
      PTR                 0x0000000003F0D0E0 [      22] "InfoPlus.21"
      SWORD                     1024
      SWORD *             0x000000000012E8CC (22)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       18 <SQL_DBMS_VER>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012E8CC
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       18 <SQL_DBMS_VER>
      PTR                 0x0000000003F0D0E0 [      20] "10.00.0001"
      SWORD                     1024
      SWORD *             0x000000000012E8CC (20)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                    10003 <SQL_CATALOG_NAME>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012EBF0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code -1 (SQL_ERROR)
      HDBC                0x0000000003F0B1A0
      UWORD                    10003 <SQL_CATALOG_NAME>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012EBF0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetDiagRecW
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0x0000000003F0B1A0
      SQLSMALLINT                  1
      SQLWCHAR *          0x000000000012E2D8
      SQLINTEGER *        0x000000000012E69C
      SQLWCHAR *          0x0000000003F0D0E0
      SQLSMALLINT                510
      SQLSMALLINT *       0x000000000012E8D0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetDiagRecW  with return code 100 (SQL_NO_DATA_FOUND)
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0x0000000003F0B1A0
      SQLSMALLINT                  1
      SQLWCHAR *          0x000000000012E2D8
      SQLINTEGER *        0x000000000012E69C
      SQLWCHAR *          0x0000000003F0D0E0
      SQLSMALLINT                510
      SQLSMALLINT *       0x000000000012E8D0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       91 <SQL_OWNER_USAGE>
      PTR                 0x000000000012ECC4
      SWORD                        4
      SWORD *             0x000000000012ECD8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       91 <SQL_OWNER_USAGE>
      PTR                 0x000000000012ECC4 ( 0x0000000000000000)
      SWORD                        4
      SWORD *             0x000000000012ECD8 (4)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       46 <SQL_TXN_CAPABLE>
      PTR                 0x00000000051E5BF8
      SWORD                        2
      SWORD *             0x000000000012ECE0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       46 <SQL_TXN_CAPABLE>
      PTR                 0x00000000051E5BF8 (2) <SQL_TC_ALL>
      SWORD                        2
      SWORD *             0x000000000012ECE0 (2)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       72 <SQL_TXN_ISOLATION_OPTION>
      PTR                 0x00000000051E5BFC
      SWORD                        4
      SWORD *             0x000000000012ECE0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       72 <SQL_TXN_ISOLATION_OPTION>
      PTR                 0x00000000051E5BFC ( 0x0000000000000008)
      SWORD                        4
      SWORD *             0x000000000012ECE0 (4)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       32 <SQL_MAX_SCHEMA_NAME_LEN>
      PTR                 0x000000000012ECDC
      SWORD                        2
      SWORD *             0x000000000012ECD8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       32 <SQL_MAX_SCHEMA_NAME_LEN>
      PTR                 0x000000000012ECDC (0)
      SWORD                        2
      SWORD *             0x000000000012ECD8 (2)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       35 <SQL_MAX_TABLE_NAME_LEN>
      PTR                 0x000000000012ECDC
      SWORD                        2
      SWORD *             0x000000000012ECD8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       35 <SQL_MAX_TABLE_NAME_LEN>
      PTR                 0x000000000012ECDC (32)
      SWORD                        2
      SWORD *             0x000000000012ECD8 (2)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       33 <SQL_MAX_PROCEDURE_NAME_LEN>
      PTR                 0x000000000012ECDC
      SWORD                        2
      SWORD *             0x000000000012ECD8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       33 <SQL_MAX_PROCEDURE_NAME_LEN>
      PTR                 0x000000000012ECDC (24)
      SWORD                        2
      SWORD *             0x000000000012ECD8 (2)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       29 <SQL_IDENTIFIER_QUOTE_CHAR>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012ECD8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       29 <SQL_IDENTIFIER_QUOTE_CHAR>
      PTR                 0x0000000003F0D0E0 [       2] """
      SWORD                     1024
      SWORD *             0x000000000012ECD8 (2)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetInfoW
      HDBC                0x0000000003F0B1A0
      UWORD                       87 <SQL_COLUMN_ALIAS>
      PTR                 0x0000000003F0D0E0
      SWORD                     1024
      SWORD *             0x000000000012ECD8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
      HDBC                0x0000000003F0B1A0
      UWORD                       87 <SQL_COLUMN_ALIAS>
      PTR                 0x0000000003F0D0E0 [       2] "Y"
      SWORD                     1024
      SWORD *             0x000000000012ECD8 (2)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLAllocHandle
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x00000000051E55A8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x00000000051E55A8 ( 0x0000000003F0B520)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                        1
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000012E9C0
      SQLLEN                   120
      SQLLEN *            0x000000000012EC98
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        1
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000012E9C0
      SQLLEN                   120
      SQLLEN *            0x000000000012EC98 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                        3
      SWORD                      -16 <SQL_C_SLONG>
      PTR                0x000000000012ECC0
      SQLLEN                     0
      SQLLEN *            0x000000000012EC88
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        3
      SWORD                      -16 <SQL_C_SLONG>
      PTR                0x000000000012ECC0
      SQLLEN                     0
      SQLLEN *            0x000000000012EC88 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                       10
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012ECD4
      SQLLEN                     0
      SQLLEN *            0x000000000012EC90
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                       10
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012ECD4
      SQLLEN                     0
      SQLLEN *            0x000000000012EC90 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                       12 <SQL_VARCHAR>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                       12 <SQL_VARCHAR>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                        4 <SQL_INTEGER>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                        4 <SQL_INTEGER>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                        4 <SQL_INTEGER>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                        4 <SQL_INTEGER>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                        5 <SQL_SMALLINT>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                        5 <SQL_SMALLINT>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                       -3 <SQL_VARBINARY>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                       -3 <SQL_VARBINARY>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                       -5 <SQL_BIGINT>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                       -5 <SQL_BIGINT>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                       -6 <SQL_TINYINT>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                       -6 <SQL_TINYINT>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                       -1 <SQL_LONGVARCHAR>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                       -1 <SQL_LONGVARCHAR>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLGetTypeInfo
      HSTMT               0x0000000003F0B520
      SWORD                       -4 <SQL_LONGVARBINARY>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLGetTypeInfo  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      SWORD                       -4 <SQL_LONGVARBINARY>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        2 <SQL_UNBIND>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        2 <SQL_UNBIND>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLEndTran
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0x0000000003F0B1A0
      SQLSMALLINT                  0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLEndTran  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  2 <SQL_HANDLE_DBC>
      SQLHANDLE           0x0000000003F0B1A0
      SQLSMALLINT                  0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetConnectAttr
      SQLHDBC             0x0000000003F0B1A0
      SQLINTEGER                 108 <SQL_ATTR_TXN_ISOLATION>
      SQLPOINTER                 2 <SQL_TXN_READ_COMMITTED>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetConnectAttr  with return code 0 (SQL_SUCCESS)
      SQLHDBC             0x0000000003F0B1A0
      SQLINTEGER                 108 <SQL_ATTR_TXN_ISOLATION>
      SQLPOINTER                 2 <SQL_TXN_READ_COMMITTED>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 ENTER SQLAllocHandle
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x000000000012EC20
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x000000000012EC20 ( 0x0000000003F0D8F0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeHandle
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLAllocHandle
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x00000000051E55A8
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x00000000051E55A8 ( 0x0000000003F0B520)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                        4
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000012EB00
      SQLLEN                   124
      SQLLEN *            0x000000000012EC00
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        4
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000012EB00
      SQLLEN                   124
      SQLLEN *            0x000000000012EC00 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                        5
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC88
      SQLLEN                     0
      SQLLEN *            0x0000000000000000
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        5
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC88
      SQLLEN                     0
      SQLLEN *            0x0000000000000000
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                        6
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000012EA80
      SQLLEN                   120
      SQLLEN *            0x000000000012EC28
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        6
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000012EA80
      SQLLEN                   120
      SQLLEN *            0x000000000012EC28 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                        7
      SWORD                      -16 <SQL_C_SLONG>
      PTR                0x000000000012EC6C
      SQLLEN                     0
      SQLLEN *            0x000000000012EC08
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        7
      SWORD                      -16 <SQL_C_SLONG>
      PTR                0x000000000012EC6C
      SQLLEN                     0
      SQLLEN *            0x000000000012EC08 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                        9
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC8C
      SQLLEN                     0
      SQLLEN *            0x000000000012EC10
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        9
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC8C
      SQLLEN                     0
      SQLLEN *            0x000000000012EC10 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                       10
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC94
      SQLLEN                     0
      SQLLEN *            0x000000000012EC30
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                       10
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC94
      SQLLEN                     0
      SQLLEN *            0x000000000012EC30 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                       11
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC90
      SQLLEN                     0
      SQLLEN *            0x0000000000000000
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                       11
      SWORD                      -15 <SQL_C_SSHORT>
      PTR                0x000000000012EC90
      SQLLEN                     0
      SQLLEN *            0x0000000000000000
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0B520
      UWORD                       16
      SWORD                      -16 <SQL_C_SLONG>
      PTR                0x000000000012EC78
      SQLLEN                     0
      SQLLEN *            0x000000000012EC18
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                       16
      SWORD                      -16 <SQL_C_SLONG>
      PTR                0x000000000012EC78
      SQLLEN                     0
      SQLLEN *            0x000000000012EC18 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLColumnsW
      HSTMT               0x0000000003F0B520
      WCHAR *             0x0000000000000000 <null pointer>
      SWORD                        0
      WCHAR *             0x0000000000000000 <null pointer>
      SWORD                        0
      WCHAR *             0x0000000003F0D520 [       3] "ABC"
      SWORD                        3
      WCHAR *             0x0000000000000000 <null pointer>
      SWORD                        0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLColumnsW  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      WCHAR *             0x0000000000000000 <null pointer>
      SWORD                        0
      WCHAR *             0x0000000000000000 <null pointer>
      SWORD                        0
      WCHAR *             0x0000000003F0D520 [       3] "ABC"
      SWORD                        3
      WCHAR *             0x0000000000000000 <null pointer>
      SWORD                        0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0B520
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        0 <SQL_CLOSE>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeStmt
      HSTMT               0x0000000003F0B520
      UWORD                        2 <SQL_UNBIND>
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0B520
      UWORD                        2 <SQL_UNBIND>
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFreeHandle
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0D8F0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0D8F0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLAllocHandle
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x00000000051E65C0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLAllocHandle  with return code 0 (SQL_SUCCESS)
      SQLSMALLINT                  3 <SQL_HANDLE_STMT>
      SQLHANDLE           0x0000000003F0B1A0
      SQLHANDLE *         0x00000000051E65C0 ( 0x0000000003F0D8F0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLPrepare
      HSTMT               0x0000000003F0D8F0
      UCHAR *             0x000000000526DCA8 [      30] "SELECT A1."NAME" FROM "ABC" A1"
      SDWORD                    30
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLPrepare  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0D8F0
      UCHAR *             0x000000000526DCA8 [      30] "SELECT A1."NAME" FROM "ABC" A1"
      SDWORD                    30
    dg4odbcdg4odbc  427c-41c4 ENTER SQLNumResultCols
      HSTMT               0x0000000003F0D8F0
      SWORD *             0x00000000051E6628
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLNumResultCols  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0D8F0
      SWORD *             0x00000000051E6628 (1)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLDescribeCol
      HSTMT               0x0000000003F0D8F0
      UWORD                        1
      UCHAR *             0x000000000012EA20
      SWORD                       31
      SWORD *             0x000000000012EB14
      SWORD *             0x000000000012EB18
      SQLULEN *           0x000000000012EAE0
      SWORD *             0x000000000012EB1C
      SWORD *             0x000000000012EB20
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLDescribeCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0D8F0
      UWORD                        1
      UCHAR *             0x000000000012EA20 [       4] "NAME"
      SWORD                       31
      SWORD *             0x000000000012EB14 (4)
      SWORD *             0x000000000012EB18 (12)
      SQLULEN *           0x000000000012EAE0 (24)
      SWORD *             0x000000000012EB1C (0)
      SWORD *             0x000000000012EB20 (1)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLColAttribute
      SQLHSTMT            0x0000000003F0D8F0
      SQLSMALLINT                  1
      SQLSMALLINT               1013 <SQL_DESC_OCTET_LENGTH>
      SQLPOINTER         0x0000000000000000
      SQLSMALLINT                  0
      SQLSMALLINT *       0x0000000000000000
      SQLPOINTER          [Unknown attribute 1013]
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLColAttribute  with return code 0 (SQL_SUCCESS)
      SQLHSTMT            0x0000000003F0D8F0
      SQLSMALLINT                  1
      SQLSMALLINT               1013 <SQL_DESC_OCTET_LENGTH>
      SQLPOINTER         0x0000000000000000
      SQLSMALLINT                  0
      SQLSMALLINT *       0x0000000000000000
      SQLPOINTER          [Unknown attribute 1013]
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetStmtAttr
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                  27 <SQL_ATTR_ROW_ARRAY_SIZE>
      SQLPOINTER               100
      SQLINTEGER                   0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetStmtAttr  with return code 1 (SQL_SUCCESS_WITH_INFO)
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                  27 <SQL_ATTR_ROW_ARRAY_SIZE>
      SQLPOINTER               100
      SQLINTEGER                   0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetStmtAttr
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                   5 <SQL_ATTR_ROW_BIND_TYPE>
      SQLPOINTER                 0 <SQL_BIND_BY_COLUMN>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetStmtAttr  with return code 1 (SQL_SUCCESS_WITH_INFO)
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                   5 <SQL_ATTR_ROW_BIND_TYPE>
      SQLPOINTER                 0 <SQL_BIND_BY_COLUMN>
      SQLINTEGER                  -5
    dg4odbcdg4odbc  427c-41c4 ENTER SQLExecute
      HSTMT               0x0000000003F0D8F0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLExecute  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0D8F0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetStmtAttr
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                  25 <SQL_ATTR_ROW_STATUS_PTR>
      SQLPOINTER          0x000000000528CC30
      SQLINTEGER                  -4
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetStmtAttr  with return code 1 (SQL_SUCCESS_WITH_INFO)
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                  25 <SQL_ATTR_ROW_STATUS_PTR>
      SQLPOINTER          0x000000000528CC30
      SQLINTEGER                  -4
    dg4odbcdg4odbc  427c-41c4 ENTER SQLSetStmtAttr
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                  26 <SQL_ATTR_ROWS_FETCHED_PTR>
      SQLPOINTER          0x00000000051E6610
      SQLINTEGER                  -4
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLSetStmtAttr  with return code 1 (SQL_SUCCESS_WITH_INFO)
      SQLHSTMT            0x0000000003F0D8F0
      SQLINTEGER                  26 <SQL_ATTR_ROWS_FETCHED_PTR>
      SQLPOINTER          0x00000000051E6610
      SQLINTEGER                  -4
    dg4odbcdg4odbc  427c-41c4 ENTER SQLBindCol
      HSTMT               0x0000000003F0D8F0
      UWORD                        1
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000528C250
      SQLLEN                    25
      SQLLEN *            0x000000000528CF70
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLBindCol  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0D8F0
      UWORD                        1
      SWORD                        1 <SQL_C_CHAR>
      PTR                0x000000000528C250
      SQLLEN                    25
      SQLLEN *            0x000000000528CF70 (0)
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0D8F0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
      HSTMT               0x0000000003F0D8F0
    dg4odbcdg4odbc  427c-41c4 ENTER SQLFetch
      HSTMT               0x0000000003F0D8F0
    dg4odbcdg4odbc  427c-41c4 EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
      HSTMT               0x0000000003F0D8F0

  • Unicode characters not transferred correctly to mysql from oracle

    Hi,
    We are transferring data from Oracle11g to MySQL5.5 using DG4ODBC. Data is getting transferred successfully to MySQL, but the Characters like Russian, Chinese etc. are not transferred succesfully. They are shown as ? in MySQL database and even with GUI tools like sqldevelopper or squirrel.
    Oracle Uses NLS_Character set is AL32UTF8 and MySQL database is UTF8.
    Oracle version is 11.1.0.6.0
    MySQL is 5.5.
    unixODBC 2.2.11, comes from redhat for RHEL 5
    I tried setting HS_LANGUAGE=american_america.al32utf8, but no luck.
    Can someone please give hint to configure gateway initialization parameters or some other configuration which is required to support all language characters during transfer.
    -Sudhakar

    Hi,
    Updated to the versions you suggested..Now receiving below error when trying to transfer data from oracle to Mysql using DBMS_HS_PASSTHROUGH.
    Actually written procedure to transfer all records..it works on few tables, but throws below error when transferring data from other tables.
    Any idea where could be wrong?
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02067: transaction or savepoint rollback required
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXXXXXX)(PORT=1521))
    (CONNECT_DATA=(SID=mysqlodbc)))
    ORA-02055: distributed update operation failed; rollback required
    ORA-02063: preceding lines from MYSQL
    ORA-06512: at "XXXXXXX.TRANSFER_XXXXXX", line 41
    ORA-06512: at line 1
    below is the gateway trace file dump.....
    Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.578
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.577
    Version 11.2.0.3.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    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
    HOSGIP returned value of "REPEATABLE_READ" for HS_FDS_TRANSACTION_ISOLATION
    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_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"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    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 32 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 "mysqlodbc"
    Product-Info:
    Port Rls/Upd:3/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:mysqlodbc
    Exiting hgogprd, rc=0
    hostmstr: 0: HOA After hoagprd
    hostmstr: 0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2011/12/20-14:10:19
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libodbc.so"
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0x8b0790
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0x8b0930
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0x8b1350
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0x8b2b50
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0x8bc280
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0x8bc810
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0x8bf820
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0x8c1480
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0x8c1e10
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0x8c4060
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0x8c4090
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0x8c5df0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0x8c9a30
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0x8c9e30
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0x8cbef0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0x8cce10
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0x8cd1d0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0x8cf810
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0x8cfd00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0x8d26a0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0x8d2420
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0x8b3680
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0x8b5580
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0x8b96c0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0x8bb9a0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0x8bd4f0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0x8c0dc0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0x8c2950
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0x8c44f0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0x8c6620
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0x8c6cc0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0x8c8160
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0x8c9030
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0x8caa00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0x8cad80
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0x8cba60
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0x8cdab0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0x8ce110
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0x8ce8b0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0x8cf0d0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0x8d0040
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0x8d3f00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0x8d1f80
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0x8d5ff0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0x8d7060
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Exiting hgolofn, rc=0 at 2011/12/20-14:10:19
    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 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoainit
    hostmstr: 0: HOA Before hoalgon
    Entered hgolgon at 2011/12/20-14:10:19
    reco:0, name:sudhakar, tflag:0
    Entered hgosuec at 2011/12/20-14:10:19
    Exiting hgosuec, rc=0 at 2011/12/20-14:10:19
    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 sudhakar as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2011/12/20-14:10:19
    HS_FDS_CONNECT_INFO = "mysql5_hgw"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2011/12/20-14:10:19
    dsn:mysql5_hgw, name:sudhakar
    optn:
    Entered hgocip at 2011/12/20-14:10:19
    dsn:mysql5_hgw
    Exiting hgocip, rc=0 at 2011/12/20-14:10:19
    ##>Connect Parameters (len=40)<##
    ## DSN=mysql5_hgw;
    #! UID=sudhakar;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2011/12/20-14:10:19
    Entered hgolosf at 2011/12/20-14:10:19
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFFFF 0x03FF 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 0xFE00 0x3F5F
    Exiting hgolosf, rc=0 at 2011/12/20-14:10:19
    DriverName:libmyodbc5.so, DriverVer:05.01.0008
    DBMS Name:MySQL, DBMS Version:5.5.17-log
    Exiting hgocont, rc=0 at 2011/12/20-14:10:19
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Upload Caps
    hostmstr: 0: HOA Before hoaulcp
    Entered hgoulcp at 2011/12/20-14:10:19
    Entered hgowlst at 2011/12/20-14:10:19
    Exiting hgowlst, rc=0 at 2011/12/20-14:10:19
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    3 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoaulcp
    hostmstr: 0: RPC After Upload Caps
    hostmstr: 0: RPC Before Upload DDTR
    hostmstr: 0: HOA Before hoauldt
    Entered hgouldt at 2011/12/20-14:10:19
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoauldt
    hostmstr: 0: RPC After Upload DDTR
    hostmstr: 0: RPC Before Begin Trans
    hostmstr: 0: HOA Before hoabegn
    Entered hgobegn at 2011/12/20-14:10:19
    tflag:0 , initial:1
    hoi:0xbfb25bdc, ttid (len 35) is ...
    00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
    10: 2E653064 34343962 342E332E 312E3535 [.e0d449b4.3.1.55]
    20: 363334 [634]
    tbid (len 32) is ...
    00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
    10: 5B332E31 2E353536 33345D5B 312E345D [[3.1.55634][1.4]]
    Exiting hgobegn, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoabegn
    hostmstr: 0: RPC After Begin Trans
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0: HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2011/12/20-14:10:19
    type:1
    SQL text from hgopars, id=1, len=530 ...
    000: 696E7365 72742069 6E746F20 73746174 [insert into xxxx]
    010: 696F6E73 20282273 74617469 6F6E6964 [xxxx ("xxxxxxxxx]
    020: 222C2261 646D696E 64657363 72697074 [","xxxxxxxxxxxxx]
    030: 696F6E22 2C22636F 756E7472 79696422 [xxx","xxxxxxxxx"]
    040: 2C226465 73637269 7074696F 6E222C22 [,"xxxxxxxxxxx","]
    050: 6C616E67 75616765 6964222C 226C696E [xxxxxxxxxx","xxx]
    060: 6B6F7468 65727365 72766963 6573222C [xxxxxxxxxxxxxx",]
    070: 226C6F67 6F75726C 222C226C 6F6E6764 ["xxxxxxx","xxxxx]
    080: 65736372 69707469 6F6E222C 226E616D [xxxxxxxxxx","xxx]
    090: 65222C22 73746174 7573222C 2274696D [e","xxxxxx","xxx]
    0A0: 65637265 61746564 222C2274 696D6575 [xxxxxxxx","xxxxx]
    0B0: 70646174 6564222C 22757365 72696463 [pdated","xxxxxxx]
    0C0: 72656174 6564222C 22757365 72696475 [xxxxxx","xxxxxxx]
    0D0: 70646174 6564222C 22776562 73697465 [pdated","xxxxxxx]
    0E0: 222C2262 726F6164 63617374 65726964 [","xxxxxxxxxxxxx]
    0F0: 222C2273 74617469 6F6E735F 696E7465 [","xxxxxxxxxxxxx]
    100: 6765725F 69647822 2C226261 6E6E6572 [ger_idx","xxxxxx]
    110: 5F616363 6573735F 64617465 222C2262 [xxxxxxxxxxxx","b]
    120: 616E6E65 725F696D 706C5F64 61746522 [xxxxxxxxxxxxxxx"]
    130: 2C226261 6E6E6572 5F72656D 6F766564 [,"xxxxxxxxxxxxxx]
    140: 5F646174 65222C22 62726F61 64636173 [_date","xxxxxxxx]
    150: 745F7479 7065222C 227A6F6E 65696422 [t_type","xxxxxx"]
    160: 2C226272 6F616463 6173745F 72616E64 [,"xxxxxxxxxxxxxx]
    170: 6F6D5F72 6561736F 6E222C22 6669656C [xxxxxxxxx","fiel]
    180: 64736368 65636B65 64222C22 65787465 [xxxxxxxxx","exte]
    190: 726E616C 73746174 696F6E69 64222C22 [xxxxxxxxxxxxx","]
    1A0: 6D61696E 74656E61 6E636562 726F6164 [xxxxxxxxxxxxxxxx]
    1B0: 63617374 65726964 222C2261 6C746572 [xxxxxxxx","alter]
    1C0: 6E617469 76655F6E 616D6522 290A2020 [xxxxxxxxxxx").  ]
    1D0: 20202020 56414C55 45532028 3F2C3F2C [    VALUES (?,?,]
    1E0: 3F2C3F2C 3F2C3F2C 3F2C3F2C 3F2C3F2C [?,?,?,?,?,?,?,?,]
    210: 3F29 [?)]
    Exiting hgopars, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoxpars
    hostmstr: 0: RPC After SQL Bundling
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0: HOA Before hoaexec
    Entered hgoexec, cursor id 1 at 2011/12/20-14:10:19
    octype=0 (?????)
    hgoexec, line 145: Printing hoada @ 0x9e7e1b8
    MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    3 DECIMAL N 6 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 2 0 0/ 0 0 0 0
    12 VARCHAR N 18 0 0/ 0 31 0 200
    3 DECIMAL N 3 0 0/ 0 0 0 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    12 VARCHAR N 196 0 0/ 0 31 0 200
    12 VARCHAR N 33 0 0/ 0 31 0 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    93 TIMESTAMP N 16 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 4 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR N 52 0 0/ 0 31 0 200
    3 DECIMAL N 5 0 0/ 0 0 0 0
    3 DECIMAL N 5 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL N 6 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    Entered hgoprbv at 2011/12/20-14:10:19
    hgoprbv, line 162: Printing hoada @ 0x9e7e1b8
    MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    3 DECIMAL N 6 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 2 0 0/ 0 0 0 0
    12 VARCHAR N 18 0 0/ 0 31 0 200
    3 DECIMAL N 3 0 0/ 0 0 0 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    12 VARCHAR N 196 0 0/ 0 31 0 200
    12 VARCHAR N 33 0 0/ 0 31 0 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    93 TIMESTAMP N 16 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 4 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR N 52 0 0/ 0 31 0 200
    3 DECIMAL N 5 0 0/ 0 0 0 0
    3 DECIMAL N 5 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL N 6 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 1, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 6, DecimalDigits 0, BufferLength 6,StrLen_or_IndPtr 0x0x9e909cc (*0x6)
    (Array size: 1)
    6 bytes of data at 0x0x9e8d684...
    0: 32303536 3835 [205685]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 2, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909d0 (*0xffffffff)
    NULL Data Specified
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 3, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 2, DecimalDigits 0, BufferLength 2,StrLen_or_IndPtr 0x0x9e909d4 (*0x2)
    (Array size: 1)
    2 bytes of data at 0x0x9e8d634...
    0: 3330 [30]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 4, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 18, DecimalDigits 0, BufferLength 18,StrLen_or_IndPtr 0x0x9e909d8 (*0x12)
    (Array size: 1)
    18 bytes of data at 0x0x9e7df70...
    00: 41205265 64652064 61204661 6DED6C69 [A Rede da Fam.li]
    10: 612E [a.]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 5, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 3, DecimalDigits 0, BufferLength 3,StrLen_or_IndPtr 0x0x9e909dc (*0x3)
    (Array size: 1)
    3 bytes of data at 0x0x9e8d5e4...
    0: 313336 [136]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 6, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909e0 (*0x1)
    (Array size: 1)
    1 bytes of data at 0x0x9e8d594...
    0: 31 [1]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 7, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909e4 (*0xffffffff)
    NULL Data Specified
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 8, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 196, DecimalDigits 0, BufferLength 196,StrLen_or_IndPtr 0x0x9e909e8 (*0xc4)
    (Array size: 1)
    196 bytes of data at 0x0x9e8d4b8...
    00: 41207072 6F677261 6D61E7E3 6F206461 [A xxxxxxxx..o da]
    10: 20526564 6520416C 656C7569 6120E920 [ Rede Aleluia . ]
    20: 636F6D70 6F737461 20706F72 2063616E [xxxxxxxx por can]
    30: E7F56573 2073656C 6563696F 6E616461 [..es xxxxxxxxxxx]
    40: 73206520 666C6173 68626163 6B732071 [s e xxxxxxxxxx q]
    50: 7565206D 61726361 72616D20 E9706F63 [ue marcaram .poc]
    60: 612C2061 6CE96D20 6465206D 656C6F64 [a, al.m de melod]
    70: 69617320 696E7374 72756D65 6E746169 [ias xxxxxxxxxxxx]
    80: 732C2074 75646F20 656D2070 65726665 [s, tudo em perfe]
    90: 69746120 6861726D 6F6E6961 2C207072 [ita xxxxxxxx, pr]
    A0: 6F706F72 63696F6E 616E646F 20756D61 [xxxxxxxxxxxx uma]
    B0: 2072E164 696F2064 65207175 616C6964 [ r.dio de qualid]
    C0: 6164652E [ade.]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 9, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 33, DecimalDigits 0, BufferLength 33,StrLen_or_IndPtr 0x0x9e909ec (*0x21)
    (Array size: 1)
    33 bytes of data at 0x0x9e8d488...
    00: 52E16469 6F20416C 656C7569 6120464D [R.xxx xxxxxxxxxx]
    10: 20285269 62656972 E36F2050 7265746F [ (xxxxxx.o xxxxx]
    20: 29 [)]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 10, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909f0 (*0x1)
    (Array size: 1)
    1 bytes of data at 0x0x9e8d438...
    0: 31 [1]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 11, InputOutputType 1, ValueType 93, ParameterType 93,
    ColumnSize 19, DecimalDigits 0, BufferLength 16,StrLen_or_IndPtr 0x0x9e909f4 (*0x10)
    (Array size: 1)
    16 bytes of data at 0x0x9e74d30...
    00: DB070C00 12001400 17003700 00000000 [..........7.....]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Edited by: 902859 on 20-Dec-2011 05:00
    Edited by: 902859 on 20-Dec-2011 05:01

  • [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed

    Hi,
    I have installed ODBC driver to connect to MS SQL databas (2008) from oracle database 11gr1 on linux 64-bit. I have downloaded and installed
    as per the instructions on microsoft website:
    microsoft.com/en-us/download/details.aspx?id=28160
    Afte this i have configured the DG4ODBC following note ID 561033.1. Below are the details of the files i have edited to configure.
    Listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=DG4ODBC)
    (ORACLE_HOME=/u01/oracle/fakieh/db/tech_st/11.1.0)
    (ENV="LD_LIBRARY_PATH=/usr/lib64:/u01/oracle/fakieh/db/tech_st/11.1.0/lib")
    (PROGRAM=dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = testdb.domain.com ) (PORT = 1511))
    tnsnames.ora:
    DG4ODBC=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST= testdb.domain.com )(PORT=1511))
    (CONNECT_DATA=(SID=DG4ODBC))
    (HS=OK)
    initDG4ODBC.ora ($ORACLE_HOME/hs/admin)
    # HS init parameters
    HS_FDS_CONNECT_INFO = mssql
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    odbc.ini
    [ODBC Data Sources]
    mssql=MS SQL Server
    [mssql]
    Driver=/usr/lib64/libodbc.so
    Database=FAKIH_ToTestInt
    LogonID=user
    Password=passwd
    Address=SJSQLV01.domain.com
    QuotedId=YES
    AnsiNPW=YES
    HS_FDS_SUPPORT_STATISTICS=FALSE
    [ODBC]
    IANAAppCodePage=4
    Trace=0
    UseCursorLib=0
    UseCursorLib=0
    Tnsping is successful, but when i try to connect the remote db it give me below message.
    SQL> select * from "systables"@mssqltest;
    select * from "systables"@mssqltest
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
    ORA-02063: preceding 2 lines from MSSQLTEST
    please suggest how to resolve this.

    Hi Kgronau,
    Again i received below error:
    SQL> select * from "emptest"@mssqltest;
    ERROR:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][SQL Server Native Client 11.0]String data, right
    truncation[Microsoft][SQL Server Native Client 11.0]String data, right
    truncation
    ORA-02063: preceding 2 lines from MSSQLTEST
    no rows selected
    Trace file:
    Oracle Corporation --- FRIDAY DEC 07 2012 16:36:01.648
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- FRIDAY DEC 07 2012 16:36:01.648
    Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    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_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    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_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"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "DG4ODBC"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:DG4ODBC
    Exiting hgogprd, rc=0
    hostmstr: 0:      HOA After hoagprd
    hostmstr: 0:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=560
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=560
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2012/12/07-16:36:01
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0xaaafa2f0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0xaaafa430
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0xaaafac10
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0xaaafbe40
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0xaab03c30
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0xaab04070
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0xaab06870
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0xaab07ee0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0xaab08650
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0xaab0a0e0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0xaab0a100
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0xaab0b6e0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0xaab0e810
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0xaab0eb80
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0xaab105b0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0xaab11110
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0xaab11410
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0xaab131b0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0xaab135d0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0xaab154e0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0xaab152c0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0xaaafc6d0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0xaaafdf80
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0xaab017b0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0xaab03500
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0xaab04b40
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0xaab07990
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0xaab08f20
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0xaab0a430
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0xaab0d490
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0xaab0e090
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0xaab0f570
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0xaab0f810
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0xaab10210
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0xaab11b60
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0xaab12040
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0xaab125f0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0xaab12c40
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0xaab13870
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0xaab16830
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0xaab14f40
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0xaab180d0
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Entered hgolofns at 2012/12/07-16:36:01
    libname=/usr/lib64/libodbc.so, funcname=SQLTables
    symbol_peflctx=0xaab18d40
    hoaerr:0
    Exiting hgolofns at 2012/12/07-16:36:01
    Exiting hgolofn, rc=0 at 2012/12/07-16:36:01
    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 ".,"
    Exiting hgoinit, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoainit
    hostmstr: 0:      HOA Before hoalgon
    Entered hgolgon at 2012/12/07-16:36:01
    reco:0, name:OracleUser, tflag:0
    Entered hgosuec at 2012/12/07-16:36:01
    Exiting hgosuec, rc=0 at 2012/12/07-16:36:01
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using OracleUser as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/12/07-16:36:01
    HS_FDS_CONNECT_INFO = "mssql"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/12/07-16:36:01
    dsn:mssql, name:OracleUser
    optn:
    ##>Connect Parameters (len=38)<##
    ## DSN=mssql;
    #! UID=OracleUser;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/12/07-16:36:01
    DriverName:libsqlncli-11.0.so.1790.0, DriverVer:11.00.1790
    DBMS Name:Microsoft SQL Server, DBMS Version:10.50.1617
    Exiting hgocont, rc=0 at 2012/12/07-16:36:01
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoalgon
    hostmstr: 0: RPC Before Upload Caps
    hostmstr: 0:      HOA Before hoaulcp
    Entered hgoulcp at 2012/12/07-16:36:01
    Entered hgowlst at 2012/12/07-16:36:01
    Exiting hgowlst, rc=0 at 2012/12/07-16:36:01
    SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    3 instance capabilities will be uploaded
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    Exiting hgoulcp, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoaulcp
    hostmstr: 0: RPC After Upload Caps
    hostmstr: 0: RPC Before Upload DDTR
    hostmstr: 0:      HOA Before hoauldt
    Entered hgouldt at 2012/12/07-16:36:01
    0 instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoauldt
    hostmstr: 0: RPC After Upload DDTR
    hostmstr: 0: RPC Before Begin Trans
    hostmstr: 0:      HOA Before hoabegn
    Entered hgobegn at 2012/12/07-16:36:01
    tflag:0 , initial:1
    hoi:0xc8b24548, ttid (len 42) is ...
    00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
    10: 502E434F 4D2E6365 63356661 38322E38 [P.COM.cec5fa82.8]
    20: 2E32342E 32343030 3532 [.24.240052]
    tbid (len 39) is ...
    00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
    10: 502E434F 4D5B382E 32342E32 34303035 [P.COM[8.24.24005]
    20: 325D5B31 2E345D [2][1.4]]
    TXN Capable:2, Isolation Option:0x2f
    Exiting hgobegn, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoabegn
    hostmstr: 0: RPC After Begin Trans
    hostmstr: 0: RPC Before Describe Table
    hostmstr: 0:      HOA Before hoadtab
    Entered hgodtab at 2012/12/07-16:36:01
    count:1
    table: emptest
    Entered hgopdsc at 2012/12/07-16:36:01
    Describing procedure OracleUser.emptest
    Output hoada
    hgopdsc, line 1298: NO hoada to print
    Exiting hgopdsc, rc=942 at 2012/12/07-16:36:01
    The hoada for table emptest follows...
    hgodtab, line 651: NO hoada to print
    Exiting hgodtab, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoadtab
    hostmstr: 0: RPC After Describe Table
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2012/12/07-16:36:01
    type:0
    SQL text from hgopars, id=1, len=23 ...
    00: 53454C45 4354202A 2046524F 4D202265 [SELECT * FROM "e]
    10: 6D707465 737422 [mptest"]
    Exiting hgopars, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoxpars
    hostmstr: 0: RPC After SQL Bundling
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2012/12/07-16:36:01
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoxopen
    hostmstr: 0:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2012/12/07-16:36:01
    Entered hgopcda at 2012/12/07-16:36:01
    Column:1(empnumber): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
    Entered hgopcda at 2012/12/07-16:36:01
    Column:2(empname): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
    Entered hgopcda at 2012/12/07-16:36:01
    Column:3(telephone): dtype:2 (NUMERIC), prc/scl:18/0, nullbl:1, octet:20, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
    hgodscr, line 506: Printing hoada @ 0x9c29d38
    MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
    1 CHAR Y 20 20 128/ 10 873 0 40 empname
    3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
    Exiting hgodscr, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoxdscr
    hostmstr: 0: RPC After SQL Bundling
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0:      HOA Before hoxclse
    Entered hgoclse, cursor id 1 at 2012/12/07-16:36:01
    Exiting hgoclse, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoxclse
    hostmstr: 0:      HOA Before hoadafr
    Entered hgodafr, cursor id 1 at 2012/12/07-16:36:01
    Exiting hgodafr, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoadafr
    hostmstr: 0:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2012/12/07-16:36:01
    type:0
    SQL text from hgopars, id=1, len=67 ...
    00: 53454C45 43542041 312E2265 6D706E75 [SELECT A1."empnu]
    10: 6D626572 222C4131 2E22656D 706E616D [mber",A1."empnam]
    20: 65222C41 312E2274 656C6570 686F6E65 [e",A1."telephone]
    30: 22204652 4F4D2022 656D7074 65737422 [" FROM "emptest"]
    40: 204131 [ A1]
    Exiting hgopars, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoxpars
    hostmstr: 0:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2012/12/07-16:36:01
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoxopen
    hostmstr: 0:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2012/12/07-16:36:01
    Entered hgopcda at 2012/12/07-16:36:01
    Column:1(empnumber): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
    Entered hgopcda at 2012/12/07-16:36:01
    Column:2(empname): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
    Entered hgopcda at 2012/12/07-16:36:01
    Column:3(telephone): dtype:2 (NUMERIC), prc/scl:18/0, nullbl:1, octet:20, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
    hgodscr, line 506: Printing hoada @ 0x9c29d38
    MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
    1 CHAR Y 20 20 128/ 10 873 0 40 empname
    3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
    Exiting hgodscr, rc=0 at 2012/12/07-16:36:01
    hostmstr: 0:      HOA After hoxdscr
    hostmstr: 0: RPC After SQL Bundling
    hostmstr: 0: RPC Before Fetch Row
    hostmstr: 0:      HOA Before hoaftch
    Entered hgoftch, cursor id 1 at 2012/12/07-16:36:01
    hgoftch, line 117: Printing hoada @ 0x9c29d38
    MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
    1 CHAR Y 20 20 128/ 10 873 0 40 empname
    3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
    SQLBindCol: column 1, cdatatype: -8, bflsz: 21
    SQLBindCol: column 2, cdatatype: -8, bflsz: 21
    SQLBindCol: column 3, cdatatype: 1, bflsz: 20
    Entered hgopoer at 2012/12/07-16:36:01
    hgopoer, line 159: got native error 0 and sqlstate 01004; message follows...
    [Microsoft][SQL Server Native Client 11.0]String data, right truncation[Microsoft][SQL Server Native Client 11.0]String data, right truncation
    Exiting hgopoer, rc=0 at 2012/12/07-16:36:01
    hgoftch, line 699: calling SQLGetData got sqlstate 01004
    1 rows fetched
    Exiting hgoftch, rc=28500 at 2012/12/07-16:36:01 with error ptr FILE:hgoftch.c LINE:699 FUNCTION:hgoftch() ID:Row error while doing array fetch
    hostmstr: 0:      HOA After hoaftch
    hostmstr: 0: RPC After Fetch Row
    hostmstr: 0: RPC Before Commit Trans
    hostmstr: 0:      HOA Before hoxclse
    Entered hgoclse, cursor id 1 at 2012/12/07-16:36:06
    Exiting hgoclse, rc=0 at 2012/12/07-16:36:06
    hostmstr: 0:      HOA After hoxclse
    hostmstr: 0:      HOA Before hoadafr
    Entered hgodafr, cursor id 1 at 2012/12/07-16:36:06
    Exiting hgodafr, rc=0 at 2012/12/07-16:36:06
    hostmstr: 0:      HOA After hoadafr
    hostmstr: 0:      HOA Before hoacomm
    Entered hgocomm at 2012/12/07-16:36:06
    keepinfo:0, tflag:1
    00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
    10: 502E434F 4D2E6365 63356661 38322E38 [P.COM.cec5fa82.8]
    20: 2E32342E 32343030 3532 [.24.240052]
    tbid (len 39) is ...
    00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
    10: 502E434F 4D5B382E 32342E32 34303035 [P.COM[8.24.24005]
    20: 325D5B31 2E345D [2][1.4]]
    cmt(0):
    Entered hgocpctx at 2012/12/07-16:36:06
    Exiting hgocpctx, rc=0 at 2012/12/07-16:36:06
    Exiting hgocomm, rc=0 at 2012/12/07-16:36:06
    hostmstr: 0:      HOA After hoacomm
    hostmstr: 0: RPC After Commit Trans
    hostmstr: 0: RPC Before Logoff
    hostmstr: 0:      HOA Before hoalgof
    Entered hgolgof at 2012/12/07-16:36:06
    tflag:1
    Exiting hgolgof, rc=0 at 2012/12/07-16:36:06
    hostmstr: 0:      HOA After hoalgof
    hostmstr: 0: RPC After Logoff
    hostmstr: 0: RPC Before Exit Agent
    hostmstr: 0:      HOA Before hoaexit
    Entered hgoexit at 2012/12/07-16:36:06
    Exiting hgoexit, rc=0 at 2012/12/07-16:36:06
    hostmstr: 0:      HOA After hoaexit
    hostmstr: 0: RPC After Exit Agent
    This is just an additional information that this oracle database is E-business database and "FTEST" is the SID.
    Thank You.

  • Incomplete data or ORA-28528 errors when accesing an Informix Server

    We have configured a dblink to an Informix Server. We are using UnixODBC + Informix CSDK on a RHEL 4 x86_64.
    After running several queries we have seen 3 different situations:
    A. The result of the query is correct.
    B. The result is incomplete. The table may have 24 rows, but the output shows only 13. However, Oracle receives 24 rows, as it's shown at the end of the output.
    C. Error about datatype conversion.
    SQL> select * from "centros"@test_informix2;
    ERROR:
    ORA-28528: Heterogeneous Services datatype conversion error
    ORA-02063: preceding line from TEST_INFORMIX2
    dg4odbc output when performing a select with incomplete results as described in situation B
    Oracle Corporation --- TUESDAY AUG 11 2009 16:12:02.321
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- TUESDAY AUG 11 2009 16:12:02.321
    Version 11.1.0.6.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_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    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_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"
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQ
    LStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "test_informix2"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:test_informix2
    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=102000
    Entered hgolofn at 2009/08/11-16:12:02
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0x9893c70d
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0x9893c873
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0x9893d2e4
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0x9893ec84
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0x98949f10
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0x9894a5c8
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0x9894d4d4
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0x9894f17c
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0x9894fd04
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0x98951fc9
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0x98951fec
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0x989541dc
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0x98957fa8
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0x989583c4
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0x9895ab28
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0x9895bad8
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0x9895bedc
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0x9895e908
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0x9895ee78
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0x98961458
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0x98961230
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0x9893f4ec
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0x989416e4
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0x98947014
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0x989494f0
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0x9894b337
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0x9894e9e2
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0x98950bdc
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0x989524ab
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0x989567f3
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0x989576e5
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0x98959083
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0x989593e3
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0x9895a548
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0x9895c9c6
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0x9895d13e
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0x9895d938
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0x9895e19a
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0x9895f1fc
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0x989634a8
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0x98960e5a
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0x98965ed6
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Entered hgolofns at 2009/08/11-16:12:02
    libname=/usr/local/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0x98967014
    hoaerr:0
    Exiting hgolofns at 2009/08/11-16:12:02
    Exiting hgolofn, rc=0 at 2009/08/11-16:12:02
    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 ".,"
    Exiting hgoinit, rc=0 at 2009/08/11-16:12:02
    Entered hgolgon at 2009/08/11-16:12:02
    reco:0, name:informix, tflag:0
    Entered hgosuec at 2009/08/11-16:12:02
    Exiting hgosuec, rc=0 at 2009/08/11-16:12:02
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using informix as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2009/08/11-16:12:02
    HS_FDS_CONNECT_INFO = "test_informix2"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2009/08/11-16:12:02
    dsn:test_informix2, name:informix
    optn:
    ##>Connect Parameters (len=43)<##
    ## DSN=test_informix2;
    #! UID=informix;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2009/08/11-16:12:02
    DriverName:iclis09b.so, DriverVer: 3.50.0000 3.50.U
    DBMS Name:Informix, DBMS Version:07.31.0000 UD5
    Exiting hgocont, rc=0 at 2009/08/11-16:12:02
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 18 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2009/08/11-16:12:02
    Entered hgoulcp at 2009/08/11-16:12:02
    Entered hgowlst at 2009/08/11-16:12:02
    Exiting hgowlst, rc=0 at 2009/08/11-16:12:02
    SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns N for SQL_COLUMN_ALIAS
    Exiting hgoulcp, rc=0 at 2009/08/11-16:12:02
    Entered hgouldt at 2009/08/11-16:12:02
    Exiting hgouldt, rc=0 at 2009/08/11-16:12:02
    Entered hgobegn at 2009/08/11-16:12:02
    tflag:0 , initial:1
    hoi:0xbfffe688, ttid (len 21) is ...
    00: 54534554 3135352E 36616133 2E332E37 [TEST.5513aa67.3.]
    10: 36352E33 34 [3.564]
    tbid (len 10) is ...
    0: 00030003 00000234 0104 [....4.....]
    Exiting hgobegn, rc=0 at 2009/08/11-16:12:02
    Entered hgodtab at 2009/08/11-16:12:02
    count:1
    table: agentes
    Entered hgopcda at 2009/08/11-16:12:02
    Column:1(cod_agent): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/08/11-16:12:02
    Entered hgopcda at 2009/08/11-16:12:02
    Column:2(desc_agent): dtype:12 (VARCHAR), prc/scl:50/0, nullbl:0, octet:50, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/08/11-16:12:02
    The hoada for table agentes follows...
    hgodtab, line 577: Printing hoada @ 0x6c0b90
    MAX:2, ACTUAL:2, BRC:1, WHT=6
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 2 2 0/ 0 0 0 0 cod_agent
    12 VARCHAR N 50 50 0/ 0 0 0 0 desc_agent
    Exiting hgodtab, rc=0 at 2009/08/11-16:12:02
    Entered hgodafr, cursor id 0 at 2009/08/11-16:12:02
    Exiting hgodafr, rc=0 at 2009/08/11-16:12:02
    Entered hgotcis at 2009/08/11-16:12:02
    Calling SQLStatistics for agentes
    IndexType=SQL_TABLE_STAT: cardinality=24
    New Index:353_1379, type=3, ASCENDING, UNIQUE, cardinality=24
    ordinal position = 1
    Calling SQLColumns for informix.agentes
    Column "cod_agent": dtype=1, colsize=2, decdig=0, char_octet_length=2, cumulative avg row len=2
    Column "desc_agent": dtype=12, colsize=50, decdig=0, char_octet_length=50, cumulative avg row len=39
    Exiting hgotcis, rc=0 at 2009/08/11-16:12:02
    Entered hgopars, cursor id 1 at 2009/08/11-16:12:02
    type:0
    SQL text from hgopars, id=1, len=55 ...
    00: 454C4553 41205443 63222E31 615F646F [SELECT A1."cod_a]
    10: 746E6567 31412C22 6564222E 615F6373 [gent",A1."desc_a]
    20: 746E6567 52462022 22204D4F 6E656761 [gent" FROM "agen]
    30: 22736574 204131 [tes" A1]
    Exiting hgopars, rc=0 at 2009/08/11-16:12:02
    Entered hgoopen, cursor id 1 at 2009/08/11-16:12:02
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2009/08/11-16:12:02
    Entered hgodscr, cursor id 1 at 2009/08/11-16:12:02
    Entered hgopcda at 2009/08/11-16:12:02
    Column:1(cod_agent): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/08/11-16:12:02
    Entered hgopcda at 2009/08/11-16:12:02
    Column:2(desc_agent): dtype:12 (VARCHAR), prc/scl:50/0, nullbl:0, octet:50, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/08/11-16:12:02
    hgodscr, line 506: Printing hoada @ 0x6c08f8
    MAX:2, ACTUAL:2, BRC:100, WHT=5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 2 2 0/ 0 0 0 0 cod_agent
    12 VARCHAR N 50 50 0/ 0 0 0 0 desc_agent
    Exiting hgodscr, rc=0 at 2009/08/11-16:12:02
    Entered hgoftch, cursor id 1 at 2009/08/11-16:12:02
    hgoftch, line 117: Printing hoada @ 0x6c08f8
    MAX:2, ACTUAL:2, BRC:100, WHT=5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 2 2 0/ 0 0 0 0 cod_agent
    12 VARCHAR N 50 50 0/ 0 0 0 0 desc_agent
    SQLBindCol: column 1, cdatatype: 1, bflsz: 3
    SQLBindCol: column 2, cdatatype: 1, bflsz: 51
    SQLFetch: row: 1, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 1, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 1, column 2, bflsz: 51, bflar: 16
    SQLFetch: row: 1, column 2, bflsz: 51, bflar: 16
    SQLFetch: row: 2, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 2, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 2, column 2, bflsz: 51, bflar: 26
    SQLFetch: row: 2, column 2, bflsz: 51, bflar: 26
    SQLFetch: row: 3, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 3, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 3, column 2, bflsz: 51, bflar: 33
    SQLFetch: row: 3, column 2, bflsz: 51, bflar: 33
    SQLFetch: row: 4, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 4, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 4, column 2, bflsz: 51, bflar: 35
    SQLFetch: row: 4, column 2, bflsz: 51, bflar: 35
    SQLFetch: row: 5, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 5, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 5, column 2, bflsz: 51, bflar: 6
    SQLFetch: row: 5, column 2, bflsz: 51, bflar: 6
    SQLFetch: row: 6, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 6, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 6, column 2, bflsz: 51, bflar: 5
    SQLFetch: row: 6, column 2, bflsz: 51, bflar: 5
    SQLFetch: row: 7, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 7, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 7, column 2, bflsz: 51, bflar: 27
    SQLFetch: row: 7, column 2, bflsz: 51, bflar: 27
    SQLFetch: row: 8, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 8, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 8, column 2, bflsz: 51, bflar: 26
    SQLFetch: row: 8, column 2, bflsz: 51, bflar: 26
    SQLFetch: row: 9, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 9, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 9, column 2, bflsz: 51, bflar: 34
    SQLFetch: row: 9, column 2, bflsz: 51, bflar: 34
    SQLFetch: row: 10, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 10, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 10, column 2, bflsz: 51, bflar: 32
    SQLFetch: row: 10, column 2, bflsz: 51, bflar: 32
    SQLFetch: row: 11, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 11, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 11, column 2, bflsz: 51, bflar: 31
    SQLFetch: row: 11, column 2, bflsz: 51, bflar: 31
    SQLFetch: row: 12, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 12, column 1, bflsz: 3, bflar: 2
    SQLFetch: row: 12, column 2, bflsz: 51, bflar: 22
    SQLFetch: row: 12, column 2, bflsz: 51, bflar: 22
    SQLFetch: row: 13, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 13, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 13, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 13, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 14, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 14, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 14, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 14, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 15, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 15, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 15, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 15, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 16, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 16, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 16, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 16, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 17, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 17, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 17, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 17, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 18, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 18, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 18, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 18, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 19, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 19, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 19, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 19, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 20, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 20, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 20, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 20, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 21, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 21, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 21, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 21, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 22, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 22, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 22, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 22, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 23, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 23, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 23, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 23, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 24, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 24, column 1, bflsz: 3, bflar: 0
    SQLFetch: row: 24, column 2, bflsz: 51, bflar: 0
    SQLFetch: row: 24, column 2, bflsz: 51, bflar: 0
    24 rows fetched
    Exiting hgoftch, rc=0 at 2009/08/11-16:12:02
    Entered hgoftch, cursor id 1 at 2009/08/11-16:12:02
    hgoftch, line 117: Printing hoada @ 0x6c08f8
    MAX:2, ACTUAL:2, BRC:24, WHT=5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 2 2 0/ 0 0 0 0 cod_agent
    12 VARCHAR N 16 50 0/ 0 0 0 0 desc_agent
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2009/08/11-16:12:02
    Entered hgoclse, cursor id 1 at 2009/08/11-16:12:04
    Exiting hgoclse, rc=0 at 2009/08/11-16:12:04
    Entered hgodafr, cursor id 1 at 2009/08/11-16:12:04
    Exiting hgodafr, rc=0 at 2009/08/11-16:12:04
    Entered hgocomm at 2009/08/11-16:12:04
    keepinfo:0, tflag:1
    00: 54534554 3135352E 36616133 2E332E37 [TEST.5513aa67.3.]
    10: 36352E33 34 [3.564]
    tbid (len 10) is ...
    0: 00030003 00000234 0104 [....4.....]
    cmt(0):
    Entered hgocpctx at 2009/08/11-16:12:04
    Exiting hgocpctx, rc=0 at 2009/08/11-16:12:04
    Exiting hgocomm, rc=0 at 2009/08/11-16:12:04
    Entered hgolgof at 2009/08/11-16:12:04
    tflag:1
    Exiting hgolgof, rc=0 at 2009/08/11-16:12:04
    Entered hgoexit at 2009/08/11-16:12:04
    Exiting hgoexit, rc=0 at 2009/08/11-16:12:04
    Any idea or hint would be really appreciated!
    Thanks!

    Ok. Bad news.
    There is an unpublished bug 799360 UNSUPPORTED INFORMIX RELEASE ERROR RUNNING DG4IFMX 11.1.
    To workround the problem, choose either of the following:
    1. Apply fix for unpublished Bug 6799360 when it becomes available.
    2. Upgrade Informix to 9.4 or 10 as the problem does not happen with these versions.
    3. Use 10.2 TG4Informix until a fix for the 11g DG4Informix is available.
    None of them are valid if you don't have any control of the Informix databases and if your Oracle database is in 64 bits (tg4informix not availabe for 64 bits).

  • Interval data types ODBC driver support

    I have tried both Oracle 10.02.00.03 and Oracle 11.01.00.06 ODBC drivers to get resultset description for interval data type columns with no success. Example,
    CREATE TABLE TEST_INTERVAL
    "COL1" INTERVAL YEAR (2) TO MONTH,
    "COL2" INTERVAL YEAR (1) TO MONTH,
    "COL3" INTERVAL DAY (2) TO SECOND (6),
    "COL4" INTERVAL DAY (0) TO SECOND (0)
    and in an ODBC client like CompareData or WinSQL attempt to retrieve the resultset description for 'select * from test_interval' using SQLColAttribute and SQL_DESC_CONCISE_TYPE, SQL_DESC_LABEL, SQL_DESC_AUTO_UNIQUE_VALUE, etc and get all errors.
    Seems Oracle ODBC drivers do not know how to handle interval data types eventhough ODBC api provides the necessary framework for handling interval data [http://msdn.microsoft.com/en-us/library/ms716506(VS.85).aspx]
    (For example, Informix ODBC driver, Mimer SQL ODBC driver provide complete support for their DBMS interval data types via ODBC)

    Perhaps you ask in the wrong forum? It doesn't seem to be a 'Database - General' question:
    ODBC
    Werner

  • Database Link Error to MySQL when using variables

    Hi Guys
    I currently hava a database link to MySQL. I can read, insert, delete and update with no problems when using literals. However when I attempt to carry out the same actions using pl/sql variables I recieve the following error:
    ORA-02055: distributed update operation failed; rollback required
    ORA-02068: following severe error from AAA1
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ProdDB.btl.net)(PORT=1527))(CONNECT_DATA=(SID=AAA1)))
    ORA-06512: at line 15
    Could you kindly give me some suggestions?
    PL/SQL Code
    Declare
    MSISDN2 char(8);
    IMSI2 number(28,0);
    ICC2 number(28,0);
    cnt number(28,0);
    Begin
    MSISDN2 :='610-0850';
    IMSI2:=8950167090300132451;
    ICC2:=702670161017765;
    delete from "SUBSCRIBERS"@AAA1 where "MSISDN" = MSISDN2;--"ICC" = ICC2 or "IMSI" = IMSI2;
    End;
    System Info:
    Oracle Database 10.2.0.5.0 on Redhat Linux 64 bit
    Oracle Database Gateways for ODBC 11.2.0.1.0 on same machine as above
    UnixODBC-3.2.1 compiled in 64bit mode on same machine as well
    MySQL ODBC Connector DriverVer:05.02.0002
    ODBC DSN
    ; odbc.ini configuration for Connector/ODBC and Connector/ODBC 3.51 drivers
    [ODBC Data Sources]
    AAA1 = MyODBC 5.2.2 Driver DSN
    [AAA1]
    Driver = /usr/lib64/libmyodbc5w.so
    Description = Connector/ODBC 5.52 Driver DSN
    SERVER = 10.50.18.89
    USER = tytancc2
    Password = xxxxxx
    Database = radiator
    OPTION = 3
    CHARSET = latin1
    Trace = yes
    TraceFile = /tmp/unixodbc.sql.log
    Debug = 1
    Debugfile = /tmp/unixodbc.debug.log
    HS File
    # 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 = AAA1
    #HS_FDS_TRACE_LEVEL = 255
    HS_FDS_TRACE_LEVEL = DEBUG
    #HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5w.so
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so.2
    HS_FDS_SQLLEN_INTERPRETATION=32
    #HS_LANGUAGE = AMERICAN_AMERICA.AL32UTF8
    #HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P15
    #HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
    HS_LANGUAGE = AMERICAN_AMERICA.LATIN1
    HS_FDS_FETCH_ROWS=1
    #HS_NLS_NCHAR= UCS2
    #HS_OPEN_CURSORS=10
    # ODBC specific environment variables
    set ODBCINI=/u01/oracle/.odbc.ini
    set ODBCINSTINI=/etc/odbcinst.ini
    # Environment variables required for the non-Oracle system
    set LD_LIBRARY_PATH=/usr/lib64
    Trace File
    Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.555
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.549
    Version 11.2.0.1.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_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"
    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 "AAA1"
    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:AAA1
    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=102000
    Entered hgolofn at 2013/02/08-22:01:40
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so.2"
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a08f61
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a090e5
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a09c18
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a0b6dc
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a17bc4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a182e8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1bc40
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1dad8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1e6dc
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a20bae
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a20bd0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a22f44
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a276d4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a27b90
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2a4a4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2b574
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2b99c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2e65c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2ecd0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a31db8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a31ac0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a0c47c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a0e884
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a14943
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1714a
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a19327
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1d2ce
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a1f648
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a210c7
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a23990
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2414c
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a25d26
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a26cc0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a288a8
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a28c67
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a29e88
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2c51e
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2ccfa
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2d5c0
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2de92
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a2f088
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a33fa4
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a315fe
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a36de2
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Entered hgolofns at 2013/02/08-22:01:40
    symbol_peflctx=0x31a380ec
    hoaerr:0
    Exiting hgolofns at 2013/02/08-22:01:40
    Exiting hgolofn, rc=0 at 2013/02/08-22:01:40
    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 2013/02/08-22:01:40
    Entered hgolgon at 2013/02/08-22:01:40
    reco:0, name:tytancc2, tflag:0
    Entered hgosuec at 2013/02/08-22:01:40
    Exiting hgosuec, rc=0 at 2013/02/08-22:01:40
    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 tytancc2 as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2013/02/08-22:01:40
    HS_FDS_CONNECT_INFO = "AAA1"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2013/02/08-22:01:40
    dsn:AAA1, name:tytancc2
    optn:
    Entered hgocip at 2013/02/08-22:01:40
    dsn:AAA1
    Exiting hgocip, rc=0 at 2013/02/08-22:01:40
    Exiting hgogenconstr, rc=0 at 2013/02/08-22:01:40
    Entered hgolosf at 2013/02/08-22:01:45
    Exiting hgolosf, rc=0 at 2013/02/08-22:01:45
    DriverName:libmyodbc5w.so, DriverVer:05.02.0002
    DBMS Name:MySQL, DBMS Version:5.1.66-community-log
    Exiting hgocont, rc=0 at 2013/02/08-22:01:45
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2013/02/08-22:01:45
    Entered hgoulcp at 2013/02/08-22:01:45
    Entered hgowlst at 2013/02/08-22:01:45
    Exiting hgowlst, rc=0 at 2013/02/08-22:01:45
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    16 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    capno:3042, context:0x00000000, add-info: 0, translation:"42"
    capno:3047, context:0x00000000, add-info: 0, translation:"57"
    capno:3049, context:0x00000000, add-info: 0, translation:"59"
    capno:3050, context:0x00000000, add-info: 0, translation:"60"
    capno:3066, context:0x00000000, add-info: 0
    capno:3067, context:0x00000000, add-info: 0
    capno:3068, context:0x00000000, add-info: 0
    capno:3069, context:0x00000000, add-info: 0
    capno:3500, context:0x00000001, add-info: 91, translation:"42"
    capno:3501, context:0x00000001, add-info: 93, translation:"57"
    capno:3502, context:0x00000001, add-info: 107, translation:"59"
    capno:3503, context:0x00000001, add-info: 110, translation:"60"
    Exiting hgoulcp, rc=0 at 2013/02/08-22:01:45
    Entered hgouldt at 2013/02/08-22:01:45
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2013/02/08-22:01:45
    Entered hgobegn at 2013/02/08-22:01:45
    tflag:0 , initial:1
    hoi:0x9671a48, ttid (len 26) is ...
    00: 54595441 4E2E6438 32323564 62642E32 [TYTAN.d8225dbd.2]
    10: 392E372E 33313031 3433 [9.7.310143]
    tbid (len 10) is ...
    0: 1D000700 7FBB0400 0104 [..........]
    Exiting hgobegn, rc=0 at 2013/02/08-22:01:45
    Entered hgopdsc at 2013/02/08-22:01:45
    Describing procedure SUBSCRIBERS
    Output hoada
    hgopdsc, line 1406: NO hoada to print
    Exiting hgopdsc, rc=942 at 2013/02/08-22:01:45
    Entered hgodtab at 2013/02/08-22:01:45
    count:1
    table: SUBSCRIBERS
    Allocate hoada[0] @ 0x3a23590
    Entered hgopcda at 2013/02/08-22:01:45
    Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    The hoada for table SUBSCRIBERS follows...
    hgodtab, line 876: Printing hoada @ 0x3a23590
    MAX:8, ACTUAL:8, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
    -5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
    -5 BIGINT N 8 8 0/ 0 0 0 20 ICC
    1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
    1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
    -5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
    -5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
    -5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
    Exiting hgodtab, rc=0 at 2013/02/08-22:01:45
    Entered hgodafr, cursor id 0 at 2013/02/08-22:01:45
    Free hoada @ 0x3a23590
    Exiting hgodafr, rc=0 at 2013/02/08-22:01:45
    Entered hgopars, cursor id 1 at 2013/02/08-22:01:45
    type:0
    SQL text from hgopars, id=1, len=134 ...
    00: 53454C45 43542041 312E604D 53495344 [SELECT A1.`MSISD]
    10: 4E602C41 312E6049 4D534960 2C41312E [N`,A1.`IMSI`,A1.]
    20: 60494343 602C4131 2E604348 45434B41 [`ICC`,A1.`CHECKA]
    30: 54545260 2C41312E 60524550 4C594154 [TTR`,A1.`REPLYAT]
    40: 5452602C 41312E60 54494D45 4C454654 [TR`,A1.`TIMELEFT]
    50: 602C4131 2E60454C 494D494E 41544544 [`,A1.`ELIMINATED]
    60: 602C4131 2E605355 5350454E 44454460 [`,A1.`SUSPENDED`]
    70: 2046524F 4D206053 55425343 52494245 [ FROM `SUBSCRIBE]
    80: 52536020 4131 [RS` A1]
    Exiting hgopars, rc=0 at 2013/02/08-22:01:45
    Entered hgoopen, cursor id 1 at 2013/02/08-22:01:45
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2013/02/08-22:01:45
    Entered hgodscr, cursor id 1 at 2013/02/08-22:01:45
    Allocate hoada @ 0x3a23538
    Entered hgopcda at 2013/02/08-22:01:45
    Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    Entered hgopcda at 2013/02/08-22:01:45
    Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
    hgodscr, line 880: Printing hoada @ 0x3a23538
    MAX:8, ACTUAL:8, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
    -5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
    -5 BIGINT N 8 8 0/ 0 0 0 20 ICC
    1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
    1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
    -5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
    -5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
    -5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
    Exiting hgodscr, rc=0 at 2013/02/08-22:01:45
    Entered hgoclse, cursor id 1 at 2013/02/08-22:01:46
    Exiting hgoclse, rc=0 at 2013/02/08-22:01:46
    Entered hgodafr, cursor id 1 at 2013/02/08-22:01:46
    Free hoada @ 0x3a23538
    Exiting hgodafr, rc=0 at 2013/02/08-22:01:46
    Entered hgopars, cursor id 1 at 2013/02/08-22:01:46
    type:0
    SQL text from hgopars, id=1, len=56 ...
    00: 44454C45 54452046 524F4D20 60535542 [DELETE FROM `SUB]
    10: 53435249 42455253 60205748 45524520 [SCRIBERS` WHERE ]
    20: 60535542 53435249 42455253 602E604D [`SUBSCRIBERS`.`M]
    30: 53495344 4E603D3F [SISDN`=?]
    Exiting hgopars, rc=0 at 2013/02/08-22:01:46
    Entered hgoexec, cursor id 1 at 2013/02/08-22:01:46
    octype=3 (DELETE)
    hgoexec, line 108: Printing hoada @ 0x3a23538
    MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 0 0/ 0 31 0 200 ?
    Entered hgoprbv at 2013/02/08-22:01:46
    hgoprbv, line 145: Printing hoada @ 0x3a23538
    MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 0 0/ 0 31 0 200 ?
    Exiting hgoprbv, rc=0 at 2013/02/08-22:01:46

              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.979016][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979038][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_BIGINT
    [ODBC][379][1360881002.979073][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979096][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979122][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979144][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979169][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979191][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979220][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979242][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979267][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979289][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979310][SQLFetch.c][348]
              Exit:[SQL_NO_DATA]
    [ODBC][379][1360881002.979332][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.979354][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979376][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_BIGINT
    [ODBC][379][1360881002.979411][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979437][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979463][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979486][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979511][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979533][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979559][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979581][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979606][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979644][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.979667][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979689][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_TINYINT
    [ODBC][379][1360881002.979728][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979762][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979801][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979835][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979882][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979920][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.979962][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.979998][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980040][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980074][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980107][SQLFetch.c][348]
              Exit:[SQL_NO_DATA]
    [ODBC][379][1360881002.980140][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.980176][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980214][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_TINYINT
    [ODBC][379][1360881002.980270][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980313][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980356][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980392][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980435][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980471][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980512][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980547][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980588][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980624][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.980661][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980694][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_LONGVARCHAR
    [ODBC][379][1360881002.980749][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980785][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.980827][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980862][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.980903][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.980938][SQLGetTypeInfo.c][168]
              Entry:
                   Statement = 0x12401d00
                   Data Type = SQL_LONGVARBINARY
    [ODBC][379][1360881002.980993][SQLGetTypeInfo.c][318]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.981028][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881002.981070][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.981105][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881002.981140][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.981175][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 2
    [ODBC][379][1360881002.981208][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.994533][SQLEndTran.c][421]
              Entry:               
                   Connection = 0x123d8530               
                   Completion Type = 0
    [ODBC][379][1360881002.996504][SQLGetInfo.c][554]
              Entry:
                   Connection = 0x123d8530
                   Info Type = SQL_CURSOR_COMMIT_BEHAVIOR (23)
                   Info Value = 0x123d99a0
                   Buffer Length = 2
                   StrLen = 0x7fffe2e98e5e
    [ODBC][379][1360881002.996546][SQLGetInfo.c][617]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.996572][SQLGetInfo.c][554]
              Entry:
                   Connection = 0x123d8530
                   Info Type = SQL_CURSOR_ROLLBACK_BEHAVIOR (24)
                   Info Value = 0x123d99a2
                   Buffer Length = 2
                   StrLen = 0x7fffe2e98e5e
    [ODBC][379][1360881002.996613][SQLGetInfo.c][617]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.996636][SQLEndTran.c][574]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881002.996666][SQLSetConnectAttr.c][396]
              Entry:
                   Connection = 0x123d8530
                   Attribute = SQL_ATTR_TXN_ISOLATION
                   Value = 0x2
                   StrLen = -5
    [ODBC][379][1360881002.999108][SQLSetConnectAttr.c][852]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.002982][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.003054][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x12439eb0
    [ODBC][379][1360881003.003087][SQLFreeHandle.c][381]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x12401d00
    [ODBC][379][1360881003.003139][SQLFreeHandle.c][491]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003164][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.003196][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x12401d00
    [ODBC][379][1360881003.003221][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 4
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x7fffe2e98dc0
                   Buffer Length = 124
                   StrLen Or Ind = 0x7fffe2e98e90
    [ODBC][379][1360881003.003249][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003273][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 5
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f58
                   Buffer Length = 0
                   StrLen Or Ind = (nil)
    [ODBC][379][1360881003.003296][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003319][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 6
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x7fffe2e98d28
                   Buffer Length = 120
                   StrLen Or Ind = 0x7fffe2e98eb8
    [ODBC][379][1360881003.003342][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003365][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 7
                   Target Type = -16 SQL_C_SLONG
                   Target Value = 0x7fffe2e98f34
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98e98
    [ODBC][379][1360881003.003387][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003410][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 9
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f5c
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98ea0
    [ODBC][379][1360881003.003433][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003456][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 10
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f64
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98ec0
    [ODBC][379][1360881003.003479][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003501][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 11
                   Target Type = -15 SQL_C_SSHORT
                   Target Value = 0x7fffe2e98f60
                   Buffer Length = 0
                   StrLen Or Ind = (nil)
    [ODBC][379][1360881003.003524][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003547][SQLBindCol.c][236]
              Entry:
                   Statement = 0x12401d00
                   Column Number = 16
                   Target Type = -16 SQL_C_SLONG
                   Target Value = 0x7fffe2e98f40
                   Buffer Length = 0
                   StrLen Or Ind = 0x7fffe2e98ea8
    [ODBC][379][1360881003.003572][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.003623][SQLColumns.c][215]
              Entry:
                   Statement = 0x12401d00
                   Catalog Name = [radiator][length = 8]
                   Schema Name = [NULL]
                   Table Name = [SUBSCRIBERS2][length = 12]
                   Column Name = [NULL]
    [ODBC][379][1360881003.014993][SQLColumns.c][412]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015172][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015247][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015361][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015396][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015479][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015513][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015613][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015647][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015726][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015758][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015836][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015870][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.015961][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.015994][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016072][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.016104][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016183][SQLFetch.c][162]
              Entry:
                   Statement = 0x12401d00
    [ODBC][379][1360881003.016209][SQLFetch.c][348]
              Exit:[SQL_NO_DATA]
    [ODBC][379][1360881003.016284][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 0
    [ODBC][379][1360881003.016311][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016438][SQLFreeStmt.c][144]
              Entry:
                   Statement = 0x12401d00
                   Option = 2
    [ODBC][379][1360881003.016465][SQLFreeStmt.c][263]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.016489][SQLFreeHandle.c][381]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x12439eb0
    [ODBC][379][1360881003.016521][SQLFreeHandle.c][491]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.029258][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.029318][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x12439eb0
    [ODBC][379][1360881003.029350][SQLPrepare.c][196]
              Entry:
                   Statement = 0x12439eb0
                   SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
    [ODBC][379][1360881003.029450][SQLPrepare.c][371]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.029482][SQLNumResultCols.c][156]
              Entry:
                   Statement = 0x12439eb0
                   Column Count = 0x123c4538
    [ODBC][379][1360881003.033825][SQLNumResultCols.c][248]
              Exit:[SQL_SUCCESS]
                   Count = 0x123c4538 -> 1
    [ODBC][379][1360881003.034106][SQLDescribeCol.c][247]
              Entry:
                   Statement = 0x12439eb0
                   Column Number = 1
                   Column Name = 0x7fffe2e98c80
                   Buffer Length = 31
                   Name Length = 0x7fffe2e98dc4
                   Data Type = 0x7fffe2e98dc8
                   Column Size = 0x7fffe2e98d60
                   Decimal Digits = 0x7fffe2e98dcc
                   Nullable = 0x7fffe2e98dd0
    [ODBC][379][1360881003.034152][SQLDescribeCol.c][497]
              Exit:[SQL_SUCCESS]               
                   Column Name = [CHECKATTR]               
                   Data Type = 0x7fffe2e98dc8 -> 1               
                   Column Size = 0x7fffe2e98d60 -> 200               
                   Decimal Digits = 0x7fffe2e98dcc -> 0               
                   Nullable = 0x7fffe2e98dd0 -> 1
    [ODBC][379][1360881003.034182][SQLColAttribute.c][293]
              Entry:
                   Statement = 0x12439eb0
                   Column Number = 1
                   Field Identifier = SQL_DESC_OCTET_LENGTH
                   Character Attr = (nil)
                   Buffer Length = 0
                   String Length = (nil)
                   Numeric Attribute = 0x7fffe2e98d68
    [ODBC][379][1360881003.034245][SQLColAttribute.c][664]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.034336][SQLSetStmtAttr.c][265]
              Entry:
                   Statement = 0x12439eb0
                   Attribute = SQL_ATTR_ROW_ARRAY_SIZE
                   Value = 0x1
                   StrLen = 0
    [ODBC][379][1360881003.034370][SQLSetStmtAttr.c][925]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.038845][SQLAllocHandle.c][540]
              Entry:
                   Handle Type = 3
                   Input Handle = 0x123d8530
    [ODBC][379][1360881003.038910][SQLAllocHandle.c][1081]
              Exit:[SQL_SUCCESS]
                   Output Handle = 0x1244ae50
    [ODBC][379][1360881003.038941][SQLPrepare.c][196]
              Entry:
                   Statement = 0x1244ae50
                   SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
    [ODBC][379][1360881003.038986][SQLPrepare.c][371]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.039011][SQLNumResultCols.c][156]
              Entry:
                   Statement = 0x1244ae50
                   Column Count = 0x123c45c0
    [ODBC][379][1360881003.041037][SQLNumResultCols.c][248]
              Exit:[SQL_SUCCESS]
                   Count = 0x123c45c0 -> 1
    [ODBC][379][1360881003.041271][SQLDescribeCol.c][247]
              Entry:
                   Statement = 0x1244ae50
                   Column Number = 1
                   Column Name = 0x7fffe2e98c80
                   Buffer Length = 31
                   Name Length = 0x7fffe2e98dc4
                   Data Type = 0x7fffe2e98dc8
                   Column Size = 0x7fffe2e98d60
                   Decimal Digits = 0x7fffe2e98dcc
                   Nullable = 0x7fffe2e98dd0
    [ODBC][379][1360881003.041311][SQLDescribeCol.c][497]
              Exit:[SQL_SUCCESS]               
                   Column Name = [CHECKATTR]               
                   Data Type = 0x7fffe2e98dc8 -> 1               
                   Column Size = 0x7fffe2e98d60 -> 200               
                   Decimal Digits = 0x7fffe2e98dcc -> 0               
                   Nullable = 0x7fffe2e98dd0 -> 1
    [ODBC][379][1360881003.041337][SQLColAttribute.c][293]
              Entry:
                   Statement = 0x1244ae50
                   Column Number = 1
                   Field Identifier = SQL_DESC_OCTET_LENGTH
                   Character Attr = (nil)
                   Buffer Length = 0
                   String Length = (nil)
                   Numeric Attribute = 0x7fffe2e98d68
    [ODBC][379][1360881003.041362][SQLColAttribute.c][664]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.041444][SQLSetStmtAttr.c][265]
              Entry:
                   Statement = 0x1244ae50
                   Attribute = SQL_ATTR_ROW_ARRAY_SIZE
                   Value = 0x1
                   StrLen = 0
    [ODBC][379][1360881003.041472][SQLSetStmtAttr.c][925]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.043645][SQLExecute.c][187]
              Entry:
                   Statement = 0x1244ae50
    [ODBC][379][1360881003.048482][SQLExecute.c][348]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.048531][SQLBindCol.c][236]
              Entry:
                   Statement = 0x1244ae50
                   Column Number = 1
                   Target Type = 1 SQL_CHAR
                   Target Value = 0x12438f50
                   Buffer Length = 201
                   StrLen Or Ind = 0x12439060
    [ODBC][379][1360881003.048559][SQLBindCol.c][341]
              Exit:[SQL_SUCCESS]
    [ODBC][379][1360881003.048597][SQLFetch.c][162]
              Entry:
                   Statement = 0x1244ae50
    [ODBC][379][1360881003.048640][SQLFetch.c][348]
              Exit:[SQL_SUCCESS]

Maybe you are looking for

  • I downloaded an app in the itunes app store on my pc and it's in my library, but it will not show up when i click ipod then apps?

    I downloaded an app in the itunes app store on my pc and it's in my library, but it will not show up when i click ipod then apps?

  • I finally made the switch from a PC to the MAC

    After years of ******* for one, my new Mac arrived yesterday. When I plugged my 3g Phone in, Itunes popped up a message essentially telling me it had to delete all of my music in order to setup a sync relationship with the phone. Is there anyway arou

  • Authorization object of a query

    Hi All, How can we check the authorization objects of a particular query? Means... I have one query. I have to find out the authorization objects of this query. Where can we find the authorization objects of this query? How can we find out the author

  • Standby Database for Oracle 8.1.7 Std Ed

    Hi, I am using Oracle 8.1.7 std ed with W2K Adv Server. Both primary host and remote host using the same version of oracle and OS. So far both oracle path are identical and the standby folder is same with primary and I don't think I need to add the d

  • (OT) Great Flash Animation

    Getting away from the technical subjects for a few minutes.. you gotta see this animation. The Flash IDE turns into a battleground. The Flash tools turn into weapons for the stickmen to use. This is truly amazing animation work! I had to post it. htt