Instant client ODBC driver for Linux

I had previously posted this under the ODBC forum, but didn't get a response there.
I am familiar with using ODBC and visual basic under Windows. I would like to use the Oracle instant client ODBC under Red Hat ES3 within a C or C++ program to access an Oracle database.
Where can I find documentation related to this:
a) setting up an ODBC connection on Linux
b) installing the Oracle instant client on Linux
c) building an application with Oracle instant client ODBC
Am I correct in assuming that any C/C++ ODBC code examples from windows could also be used on Linux.
Thanks,
Werner

Hi,
>>a) setting up an ODBC connection on Linux
go to http://www.unixodbc.org/
More information you can take a look on Note:404041.1 from Oracle Metalink
>>b) installing the Oracle instant client on Linux
You can take a look on this link below:
http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
Cheers

Similar Messages

  • Where can I download the instant client ODBC driver for windows 7

    I upgrade to windows 7 and my instant client connecting to oracle from ms Access stop working. Is there any documentation on how it works on windows 7. I use instant client and odbc cleint for xp.
    Thanks

    11.2 is currently the only supported version on Win7, and you can get the instant client here:
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
    Hope it helps,
    Greg

  • Oracle instant Client and unixODBC for Linux has Error

    Hi experts,
    I have two Redhat EL 5. On the first Rehat(xxx.xxx.xxx.121 --> called Redhat1) I have installed Oracle 10g database server. On the second Redhat(xxx.xxx.xxx.123 --> called Redhat2) I want to connect to Oracle database server on xxx.xxx.xxx.121 via ODBC. But it does not work. Pls help me!
    I have done steps as following:
    Login to Redhat2 as root and type commands:
    1)Install Instant Client + sqlplus
    # rpm -ivh oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    # rpm -ivh oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm
    2)Setting environment variable
    # LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    # SQLPATH=/usr/lib/oracle/10.2.0.4/client/lib:${SQLPATH}; export SQLPATH
    3)Testing connection to Redhat1(Oracle DB server) using sqlplus
    # sqlplus abc/[email protected]:1521/lab2
    Connected.
    5)Begin to install unixODBC
    # rpm -ivh oracle-instantclient-odbc-10.2.0.4-1.i386.rpm
    # rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-kde-2.2.11-7.1.i386.rpm
    6)After installation above packages I check for existing of odbc.ini and odbcinst.ini in /etc --> ok
    # ls /etc | grep odbc
    odbc.ini
    odbcinst.ini
    7) Tar unixODBC-2.2.14-linux-x86-32.tar.gz and copy file to /usr/local/bin, /usr/local/include, /usr/local/lib
    # tar -xzf unixODBC-2.2.14-linux-x86-32.tar.gz
    # ls /usr/local/bin/
    dltest isql iusql odbc_config odbcinst
    # ls /usr/local/include
    autotest.h odbcinstext.h odbcinst.h sqlext.h sql.h sqltypes.h sqlucode.h unixodbc_conf.h uodbc_extras.h uodbc_stats.h
    # ls /usr/local/lib
    libboundparam.la libgtrtst.la libodbccr.la libodbcinst.la libodbc.la
    libboundparam.so libgtrtst.so libodbccr.so libodbcinst.so libodbc.so
    libboundparam.so.1 libgtrtst.so.1 libodbccr.so.1 libodbcinst.so.1 libodbc.so.1
    libboundparam.so.1.0.0 libgtrtst.so.1.0.0 libodbccr.so.1.0.0 libodbcinst.so.1.0.0 libodbc.so.1.0.0
    # NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG
    # TNS_ADMIN=/root; export TNS_ADMIN
    # ODBCINI=/etc/odbc.ini; export ODBCINI
    7)Retest sqlplus to Redhad1(Oracle database server) with local tnsname
    # sqlplus vonphoto/vonphoto@lab2
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Mar 27 03:20:55 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    8) Edit odbc.ini and odbcinst.ini
    ---odbcinst.ini
    # Included in the unixODBC package
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    ---odbc.ini
    [ora_dns]
    Driver = Oracle 10g ODBC driver
    DSN = ora_dns
    ServerName = xxx.xxx.xxx.121
    UserID = vonphoto
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    TraceFile = /backup/sql.log
    Trace = Yes
    9)Testing the driver and the data source
    # odbcinst -q -d
    [Oracle 10g ODBC driver]
    # odbcinst -q -s
    [ora_dns]
    10) Test connection via ODBC from Redhat2(xxx.xxx.xxx.123) to Redhat1(xxx.xxx.xxx.121)
    # isql -v ora_dns
    isql: error while loading shared libraries: libreadline.so.3: cannot open shared object file: No such file or directory
    I have spent 4 days to search on the internet. But it still error.
    Pls help me.

    Apologies - thought it was a database to database connection that you were trying to create.
    isql: error while loading shared libraries: libreadline.so.3: cannot open shared object file: No such file or directoryThe readline library is in package readline-4.3-13 on RHEL4 and in readline-5.1-1.1 for RHEL5 on my servers (minor version number are of course dependent on the kernel version used).
    This is also not an ODBC or Oracle issue. It seems that isql is using rlwrap or similar - this requires the readline library. And possibly LD_LIBRARY_PATH to be set too.

  • Oracle instant Client and unixODBC for Linux not work

    Hi experts,
    I have two Redhat EL 5. On the first Rehat(xxx.xxx.xxx.121 --> called Redhat1) I have installed Oracle 10g database server. On the second Redhat(xxx.xxx.xxx.123 --> called Redhat2) I want to connect to Oracle database server on xxx.xxx.xxx.121 via ODBC. But it does not work. Pls help me!
    I have done steps as following:
    Login to Redhat2 as root and type commands:
    1)Install Instant Client + sqlplus
    # rpm -ivh oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    # rpm -ivh oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm
    2)Setting environment variable
    # LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    # SQLPATH=/usr/lib/oracle/10.2.0.4/client/lib:${SQLPATH}; export SQLPATH
    3)Testing connection to Redhat1(Oracle DB server) using sqlplus
    # sqlplus abc/[email protected]:1521/lab2
    Connected.
    5)Begin to install unixODBC
    # rpm -ivh oracle-instantclient-odbc-10.2.0.4-1.i386.rpm
    # rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-kde-2.2.11-7.1.i386.rpm
    6)After installation above packages I check for existing of odbc.ini and odbcinst.ini in /etc --> ok
    # ls /etc | grep odbc
    odbc.ini
    odbcinst.ini
    7) Tar unixODBC-2.2.14-linux-x86-32.tar.gz and copy file to /usr/local/bin, /usr/local/include, /usr/local/lib
    # tar -xzf unixODBC-2.2.14-linux-x86-32.tar.gz
    # ls /usr/local/bin/
    dltest isql iusql odbc_config odbcinst
    # ls /usr/local/include
    autotest.h odbcinstext.h odbcinst.h sqlext.h sql.h sqltypes.h sqlucode.h unixodbc_conf.h uodbc_extras.h uodbc_stats.h
    # ls /usr/local/lib
    libboundparam.la libgtrtst.la libodbccr.la libodbcinst.la libodbc.la
    libboundparam.so libgtrtst.so libodbccr.so libodbcinst.so libodbc.so
    libboundparam.so.1 libgtrtst.so.1 libodbccr.so.1 libodbcinst.so.1 libodbc.so.1
    libboundparam.so.1.0.0 libgtrtst.so.1.0.0 libodbccr.so.1.0.0 libodbcinst.so.1.0.0 libodbc.so.1.0.0
    # NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG
    # TNS_ADMIN=/root; export TNS_ADMIN
    # ODBCINI=/etc/odbc.ini; export ODBCINI
    7)Retest sqlplus to Redhad1(Oracle database server) with local tnsname
    # sqlplus vonphoto/vonphoto@lab2
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Mar 27 03:20:55 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    8) Edit odbc.ini and odbcinst.ini
    ---odbcinst.ini
    # Included in the unixODBC package
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    ---odbc.ini
    [ora_dns]
    Driver = Oracle 10g ODBC driver
    DSN = ora_dns
    ServerName = xxx.xxx.xxx.121
    UserID = vonphoto
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    TraceFile = /backup/sql.log
    Trace = Yes
    9)Testing the driver and the data source
    # odbcinst -q -d
    [Oracle 10g ODBC driver]
    # odbcinst -q -s
    [ora_dns]
    10) Test connection via ODBC from Redhat2(xxx.xxx.xxx.123) to Redhat1(xxx.xxx.xxx.121)
    # isql -v ora_dns
    isql: error while loading shared libraries: libreadline.so.3: cannot open shared object file: No such file or directory
    I have spent 4 days to search on the internet. But it still error.
    Pls help me.

    I don't understand your step 7 (the first step 7, actually).
    What is that unixODBC-2.2.14-linux-x86-32.tar.gz, where did it come from, and why are you doing all that?
    unixODBC should be installed after step 5.
    I guess that that is the cause of your problem.
    isql is not linked against readline at all on my RHEL 5 system.
    Do you notice any improvement after removing the files from that tar.bz file?
    Yours,
    Laurenz Albe

  • Oracle ODBC driver for Linux (C Language)

    Dear Guys,
    I am writing small code in C language which will connects Oracle to insert/delete and update data in oracle database. Despite of searching I don't find ODBC driver to connect to Oracle database in Linux platform through C language code. Can anybody please let me know if Oracle provides such ODBC Driver?
    Thanks in advance

    Zaeem wrote:
    I am writing small code in C language which will connects Oracle to insert/delete and update data in oracle database. Easily done using the Oracle Call Interface (OCI) directly. No need for ODBC.
    Despite of searching I don't find ODBC driver to connect to Oracle database in Linux platform through C language code. Can anybody please let me know if Oracle provides such ODBC Driver?Never seen an ODBC driver for Oracle on Linux. Perl uses its own abstraction interface. PHP uses its own abstraction interface. Ditto for Java. (keep in mind that ODBC is a Microsoft invention)
    And the OCI is not that more complex to use than ODBC. In fact, OCI is a lot more powerful. And the Oracle® Call Interface Programmer's Guide has numerous source code examples you can essentially copy and paste and modify for your needs. See Appendix B. Demonstration Programs.
    The resulting code is also a lot more portable - relying directly on an OCI client driver, instead of an ODBC driver that runs on top of an OCI driver.

  • 11G ODBC Driver For Linux x86_64

    I've got Oracle Database 11G installed on a machine running Fedora Core.
    I'm trying to find an ODBC driver for it, but I am not seeing anything except for one made by EasySoft that you have to pay for.
    Oracle's documentation claims that they have ODBC drivers, but when I go to the software section all I see is one for 10G that was last updated in 2006.
    Am I just not looking in the right place?
    Thank you.

    Sudheendra,
    Clicking on your link provides a location where the instant client can be downloaded. However, the last x86-64 instant client with ODBC is 10.2.0.4 and (as you have mentioned in other threads) this is not "officially" support. Furthermore, there is a bug in this version that appears when trying to run any query (connect is OK though). So, can't use 10.2.0.4. It appears there are no 11.x versions of the x86-64 instant client that support ODBC.
    So, given an x86-64 system, where everything is running 64-bit, what are we to do with regards to an Oracle Instant Client?
    I have mysql, Teradata and SQL Server all running fine with 64-bit ODBC. Is my only choice to go back to all 32-bit libraries?
    Thanks!
    Keehan

  • Oracle ODBC driver for Linux from NT

    I'm using Oracle v8.0.5 on Linux (trial version)
    and I would like to access/see/edit the database(s) from WinNT.
    Is there a driver out there for this??
    thanx in advance!
    null

    Eddy Hahn (guest) wrote:
    : Daryll (guest) wrote:
    : : I'm using Oracle v8.0.5 on Linux (trial version)
    : : and I would like to access/see/edit the database(s) from
    WinNT.
    : : Is there a driver out there for this??
    : : thanx in advance!
    : You can use regular NT ODBC driver to access Oracle on Linux.
    : Just use Net8 Assist or Net8 Easy Config to set it up (on NT).
    : Eddy
    Oracle 8.0.5 on Linux don't come with Windows 95/98/NT client. I
    need to access the Oracle on Linux from Delphi 4 on Windows 98
    but I don3t know where to get the Oracle client. Do you know
    where I can get the Oracle client for Windows 98 ? I couldn't
    find in the Oracle's pages on the Web.
    Halley
    null

  • SQLGetDiagRecW is buggy in the ODBC driver for linux

    We have been using the Microsoft ODBC Driver 11 for SQL Server on Linux with a Qt based application and noticed that error messages are truncated and end with a string of garbage.
    We traced it down to the point where the driver manager in unixODBC calls SQLGetDiagRecW on the driver.
    This is the signature of the SQLGetDiagRec function, which shares the interface with its wide char counterpart, as described in this documentation page: https://msdn.microsoft.com/en-us/library/ms716256(v=vs.85).aspx
    SQLRETURN SQLGetDiagRec(
    SQLSMALLINT HandleType,
    SQLHANDLE Handle,
    SQLSMALLINT RecNumber,
    SQLCHAR * SQLState,
    SQLINTEGER * NativeErrorPtr,
    SQLCHAR * MessageText,
    SQLSMALLINT BufferLength,
    SQLSMALLINT * TextLengthPtr);
    The function is called twice, once with a null pointer as
    MessageText to obtain the length of the message text in characters in the
    TextLengthPtr parameter. Once this is obtained, Qt then allocates a buffer large enough to hold that number of characters.
    It is important to note that we are dealing with wide characters here, so each character is two bytes.
    Now Qt calls SQLGetDiagRecW, this time with MessageText pointing to the newly allocated buffer and it's length (in characters) as the BufferLength parameter.
    Only now the function seems to interpret this BufferLength as size of the buffer in bytes, and since it has not enough space to write its text, it writes only half of the message in MessageText and returns SQL_SUCCESS_WITH_INFO.
    Unfortunately Qt treats this return code the same way it treats a SQL_SUCCESS so we never get the other half.
    However, the fact remains that the driver is outputting sizes in characters and then interpreting them as sizes in bytes.
    In the documentation linked above, both BufferLength and TextLengthPtr are described in terms of
    characters. But I also notice that a bit further down, it mentions StringLengthPtr in terms of
    bytes.
    We found also this KB article ( https://support.microsoft.com/en-us/kb/kbview/243526?wa=wsignin1.0 ) that seems to imply that the description was such that matches the observed behavior, but while the description has been changed, the wrong behavior
    remains.
    I've tried to report this in the Connect site but it has been impossible, I always get an error saying that I'm not authorized. Anybody knows how else I can reach the developers?
    For now we have patched unixODBC to duplicate the value of the output TextLengthPtr on the first call, so that Qt allocates twice the amount of memory than it is really needed. This is done as a safer counterpart to telling
    the driver we have double the space, since that would bring problems if and when the driver is fixed.

    I suspect you just need to get rid of the 'as rcount' clause in your select statement.
    Justin

  • Updated Instant Client 11.2 for Linux 64 bit is on OTN

    The 11.2 Instant Client for Linux 64bit has been updated on http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html
    It is now at the same patch level as 32 bit.

    I just tried to download these as RPMs. I was able to download the basic rpm but the sqlplus rpm and supplemental jdbc rpms failed. Instead of getting a prompt to save the file, content was displayed by the browser (binary content). It appears as is the mime type was not set correctly?
    Brad

  • Instant Client ODBC driver name

    On one machine the driver is called "Oracle in instantclient11_1" while on another it is called "Oracle in instantclient_11_2"
    Is the 11_1 and 11_2 just different versions of the client, or does this mean that this is my 2nd install of the client?
    Cheers,
    Daniel
    Edited by: Daniel L Williams on Jul 26, 2011 3:00 PM

    That is just the name of the directory where Instant Client was installed.
    Due to the way the Instant Client ZIP files are packaged, that usually contains the name of the version.
    I guess the reason is to avoid a name collision of ODBC drivers from different Oracle versions on the same machine.
    You can change the ODBC configuration if you want different names.
    Yours,
    Laurenz Albe

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

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

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

  • JDBC (ODBC) Driver for linux

    Hello
    I am currently using JdbcOdbcBridge on Windows NT/2000 for accessing MS SQLServer.
    But I want to transfer my application servers to Linux
    RedHat 7.1. My database should remain MS SQLServer.
    Can you suggest me a way to connect to MSSQL Server
    from Linux? An ODBC driver would also be
    enough for me, i.e. I can use a JdbcOdbcBridge regardless of performance problems.
    Where can I find MS SQL Server drivers for Linux?
    Thank you

    You might try the http://www.freetds.org/.
    Or RmiJdbc at http://www.objectweb.org/

  • ODBC Driver for Linux

    I am using the unixODBC driver from Easysoft to connect to the Oracle dB from a C++ application on the Linux Platform. I am able to connect and even insert data into the dB. However, I am unable to get any results thru a select statement. I don't get any errors - I just don't get any data. I am wondering if this might be a ODBC driver problem glitch and if anyone knows of an ODBC driver that definitely works?
    Here is a piece of the code:
    int
    NamesRequestor::GetNamesBarZip11UsingZipAndPrimary(char *Zip,
    char *Primary,
    char *NamesResult,
    int MaxNumResultRecords,
    int MaxResultRecordSize)
    SQLRETURN retcode, rc1;
    SQLHSTMT hstmt;
    SQLCHAR SqlState[6], Msg[SQL_MAX_MESSAGE_LENGTH];
    SQLINTEGER NativeError;
    SQLSMALLINT i, MsgLen;
    SQLCHAR SQLStmt[128], OutName[50], OutZip5[6], OutZip4[5], OutDpc[3];
    SQLINTEGER ONameLen =0, OZip5Len=0, OZip4Len=0, ODpcLen=0, OCount=0;
    SDWORD cbParam = SQL_NTS;
    SQLCHAR SQLStmtNatv[128];
    SQLINTEGER NatvLength;
    char msgbuf[256];
    char Zip5[6], PrimaryNum[16];
    strcpy(Zip5, Zip);
    strcpy(PrimaryNum, Primary);
    OutName[0] = 0;
    retcode = SQLAllocHandle (SQL_HANDLE_STMT , DBHandle, &hstmt);
    if ( (retcode != SQL_SUCCESS) &&
    (retcode != SQL_SUCCESS_WITH_INFO) ) {
    pNamesDBObj->SetErrorMsgs("SQLAllocHandle(Statement) failed\n");
    return 0;
    #ifdef ORACLE
    retcode = SQLSetStmtAttr(hstmt, SQL_ATTR_CURSOR_TYPE, SQL_CURSOR_STATIC,
    SQL_IS_UINTEGER);
    #endif
    #ifdef ORACLE
    sprintf((char *)SQLStmt,"select count(*) as rcount from ResNames where zip5 = 56001");
    retcode = SQLNativeSql(DBHandle, SQLStmt, strlen(SQLStmt), SQLStmtNatv, 128, &NatvLength);
    #endif
    retcode = SQLExecDirect(hstmt,(SQLCHAR *)SQLStmt, SQL_NTS);
    // Process any errors or returned information.
    if (retcode == SQL_ERROR) {
    i = 1;
    while ((rc1 = SQLGetDiagRec(SQL_HANDLE_STMT, hstmt, i,
    SqlState, &NativeError,
    Msg, sizeof(Msg), &MsgLen)) != SQL_NO_DATA) {
    if ((strlen(msgbuf) + MsgLen) < 255)
    strncat(msgbuf,(const char *)Msg,MsgLen);
    else
    break;
    i++;
    strcat(msgbuf,"\n");
    pNamesDBObj->SetErrorMsgs( msgbuf);
    rc1 = SQLFreeHandle(SQL_HANDLE_STMT, hstmt);
    if ((rc1 !=SQL_SUCCESS) && (rc1 != SQL_SUCCESS_WITH_INFO))
    pNamesDBObj->SetErrorMsgs("SQLFreeHandle(StmtHandle) failed! \n");
    return 0;
    SQLBindCol(hstmt, 1, SQL_C_LONG, &OCount, 8, &ONameLen);
    i=0;
    while ((retcode = SQLFetch(hstmt)) != SQL_NO_DATA) {
    if (retcode != SQL_ERROR &#0124; &#0124; retcode != SQL_SUCCESS_WITH_INFO)
    if (ONameLen < 1)
    continue;
    if (ONameLen < MaxResultRecordSize)
    sprintf(&NamesResult[i*MaxResultRecordSize], "%s | %s%s%s",
    (const char *)OutName, (const char *) OutZip5,
    (const char *) OutZip4, (const char *) OutDpc);
    else
    strncpy(&NamesResult[i*MaxResultRecordSize], (const char *)OutName, MaxResultRecordSize);
    NamesResult[(i+1)*MaxResultRecordSize] = 0;
    i++;
    OutName[0] = 0;
    OutZip5[0] = 0;
    OutZip4[0] = 0;
    OutDpc[0] = 0;
    if (i> MaxNumResultRecords)
    break;
    null

    I suspect you just need to get rid of the 'as rcount' clause in your select statement.
    Justin

  • Instant Client 10.2 for Linux now works with OID

    The bug that broke LDAP support in 10.2.0.1 for Linux has been fixed,
    the patch number is 4673628.
    In case anybody is interested :^)
    Yours,
    Laurenz Albe

    No, you'll have to download it from Metalink, which means that you need
    a support contract.
    Laurenz Albe

  • Lack of TCP keepalive parameter in Microsoft SQL Server ODBC Driver for Linux

    Hello,
    the problem in the
    aforementioned driver is the lack of TCP keepalive parameter that results in hanged threads because of closed connections on the SQL Server side, but not closed
    sockets on the client side. This could happen due to network-related problems.
    The driver is used in mission critical 24/7 uptime application and due to hanged threads the application cannot continue it's work and it needs to be restarted.
    This is observed in the latest version of the driver on RHEL 5.6.
    If you need clarification please ask.
    Does anybody know any workaround to this situation or a solution that I'm not aware of?
    Thank you for your help,
    luk.s

    Find the TCP socket of the ODBC connection in your process and set the keep-alive option and keep-alive timeout on it.
    You can do that by interposing socket system call.
    Or use libkeepalive: http://www.tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#libkeepalive

Maybe you are looking for

  • FCP QT Conversion, Why result in wider aspect ratio ??

    When I export "selfcontained" QT from FCP, it is in the same aspect ratio as I see in canvas (4:3), however when I export the same project "using QT conversion", the exported movie file is saved and plays in wider ratio. Please help, how could I keep

  • Why can i not open certain pdf files?

    I am having a problem opening pdfs. I have tried several times to open a pdf from my school but it gives me a blank page but no text. Other pdf documents open fine. I contacted tech support for the school and they checked document and were able to op

  • Problems installing Windows XP

    I need to install Windows on my Mac to enable me to run my husband's accounting software. I partitioned my hard drive via Bootcamp successfully. I then tried to install my brand new Windows XP disc, the Mac shut down and then when it rebooted the scr

  • Adrelink.sh fails after 32bit to 64bit migration Linux

    You are running adrelink, version 120.43 Start of adrelink session Date/time is  Wed Dec 18 17:34:08 IST 2013 Log file is  /u01/EBS11/R12/appl11/apps/apps_st/appl/admin/log/adrelink.log Command line arguments are    "force=y" "ad all" Operating Syste

  • Mac mini intermittent wireless connection to a DI-524 wireless router

    My friend just got his first Mac, it is a 2.0 Core 2 Duo with Nvidia graphics and 1 GB ram. We have ahd lots of problems but the most troubling is the wireless connection, it connects to a DLink DI-524 router, it connects with full bars, some times i