Configure ASE ODBC on Linux

Hi all,
We are trying to installed the SAP ASE 16 database on Linux.
But is it necessary to set ASE ODBC and the ASE ODBC driver manager?
We are getting an error when we are trying to verify the connection to database..
By default it is using unixODBC.
We have already set the database details in the odbc.ini file as well by using the template file.
But we get the error 'Could not connect to SQL'.
Do we have to use driver manger to connect ASE ODBC to UnixODBC?
Attaching the errors :
version details:

Try typing in the username and password:
isql sampledsn sa sybase
What I used is attached.
Regards,
Ryan

Similar Messages

  • Configure ODBC on Linux

    I have ODBC drivers for Cache database for linux. My ODI 11g install is on linux (OEL 5). Is there a way to configure the ODBC drivers to connect to the database?
    Thanks

    I need help, in our project we have setup new solaris server and DBA said they have installed Oracle.
    SQLPLUS client is working fine, My question, I have asked my DBA tell me the path where the drivers are installed i.e. .so and I need ODBC.ini file to put my user credentials.
    so that i can use that data source in teradata programming. now the problem is he saying the drivers has been installed using mount and ask your application owner, he only cares oracle native drivers.
    please tell me how to solve this problem.
    I know thrid party odbc drivers would solve this issue, do not which company drivers i should ask.

  • ASE ODBC driver related questions

    Hi Friends,
    I am using ODBC driver (the framework over ODBC API) to connect and read data from ASE database server on Windows.
    I've few questions about ASE ODBC driver. Can you please guide me.
    1) ASE has a DB option called "textsize" which sets the limit on amount data we can fetch in select statement.
         This option can be set either in the DSN configuration (Advanced->Textsize text field) or by "set textsize <number>" for a session.
         --- While scanning BLOBs (image data types), I want to increase this limit to 512MB in my application. But, I don't want to override the limit if user has Text Size field in the DSN configuration.
        * how can we (programatically) find out the Text Size value set in the DSN configuration?
           --- Is it possible using some ODBC function?
    2) What is the maximum limit on the data returned by SQLGetData function call at a time?
         --- Can we determine the size of the data stored in a column, especially the BLOB (or image) columns using ODBC API?
             or do we need to run the query "select datalength(ColumnName) from tablename" ?
    3) Which the most stable and reliable ODBC Driver Manager for Unix and Linux OSs? Is it unixODBC?
    Many thanks in advance for your clarifications and time.
    Best Regards

    Thanks Paul.
    This is not with SQLGetData. In fact, SQLGetData is working fine for me.
    Getting this problem when executing query and accessing bound buffers as below (pseudo code):
    // Set statement attribute to read by column, number of rows, static cursor and status pointer:
    /*struct StmtAttrs
        SQLINTEGER attr;
        SQLPOINTER valptr;
        SQLINTEGER len;
        SQLHSTMT& stmt = m_stmtHdl.m_hdl;
        StmtAttrs parms[5] = \
        {{SQL_ATTR_ROW_BIND_TYPE, SQL_BIND_BY_COLUMN, 0},
        {SQL_ATTR_CURSOR_TYPE, (SQLPOINTER)SQL_CURSOR_STATIC, 0},
        {SQL_ATTR_ROW_ARRAY_SIZE, (SQLPOINTER)limit, 0},
        {SQL_ATTR_ROW_STATUS_PTR, &m_rowStatus[0], 0},
        {SQL_ATTR_ROWS_FETCHED_PTR, &m_rowsFetched, 0}};
        uint32_t i = 0;
        SQLINTEGER errcode;
        for (; i < 5; ++i)
            bool ret = sqlSetStmtAttr(stmt, parms[i].attr, parms[i].valptr, parms[i].len);
              // error handling code
    //Bind the input buffers for number of columns using SQLBindCol:
    //Prepare the query using SQLPrepare
    // E.g.: select top 2039 numpk,convert(binary(256),ablob) from myccinfo.dbo.bigdata NOLOCK order by numpk asc ;
    // Execute the query with SQLExecute(stmt);
    // Fetch the data using SQLFetchScroll(stmt, SQL_FETCH_NEXT, 0);
    // Iterate thru each column and the bound buffer to read the data

  • Trouble using ODBC on Linux

    Hi there.
    I'm fairly new to ODBC, so I apologize in advance if I am missing
    some cirtical piece of information in my question.
    I am trying to setup ODBC so that I can connect to my Oracle
    database from RODBC (a package within the R statistical package),
    where R is running on my Linux box where I installed the instant
    client.
    I have installed the 10.2.0.3 version of the instant client
    (basic, odbc, and sqlplus pieces) on my Linux machine.
    I have set LD_LIBRARY_PATH to include the new lib directory
    /usr/lib/oracle/10.2.0.3/client/lib
    which contains the libsqora.so.10.1 file.
    uname -a yields the following:
    Linux stacw34 2.6.9-78.0.0.0.1.ELsmp #1 SMP Fri Jul 25 14:41:56 EDT 2008 i686 i686 i386 GNU/Linux
    I have set TNS_ADMIN to point to a directory with a tnsnames.ora
    file that contains the following entry:
    nickel =
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=<my_machine>)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVICE_NAME=nickel.regress.rdbms.dev.us.oracle.com)
    I have verified that the tnsnames entry is working correctly
    by connecting to the database using the instant client sqlplus
    executable.
    At this point, I am trying to connect to the database using the
    ODBC piece through RODBC. I have found that the errors I get from R
    seem to be the same as those from isql, so I am trying to use
    isql to find the root of the problem. Is there a better tool
    to validate that ODBC is working on linux?
    Anyway, I installed the odbc piece from the instant client, but
    I had to do some editing by hand due to the way the machine
    is configured. My /etc/odbcinst.ini file contains:
    [PostgreSQL]
    Description          = ODBC for PostgreSQL
    Driver          = /usr/lib/libodbcpsql.so
    Driver64          =
    Setup          = /usr/lib/libodbcpsqlS.so
    Setup64          =
    UsageCount          =
    CPTimeout          =
    CPReuse          =
    FileUsage          = 1
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.3/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    And my ~/.odbc.ini file contains:
    [nickel]
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    Driver = Oracle 10g ODBC driver
    DSN = nickel
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    ServerName =
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    UserID =
    When I run isql as follows:
    isql -v nickel
    I get the following error:
    ORA-12162: TNS:net service name is incorrectly specified
    It seems to be that this error occurs because I don't have
    ORACLE_SID set. If I set ORACLE_SID to nickel, and then
    run the same command, now I get:
    ORA-12545: Connect failed because target host or object does not exist
    The sqlnet.log file contains the following:
    Fatal NI connect error 12545, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/usr/lib/oracle/10.2.0.3/client/lib/bin/oracle)(ARGV0=oraclenickel)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=isql@<myhost>)(HOST=<myhost>)(USER=<myuser>))))
    VERSION INFORMATION:
         TNS for Linux: Version 10.2.0.3.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    Time: 20-MAR-2009 14:02:02
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12545
    TNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
    nt secondary err code: 2
    nt OS err code: 0
    I can't figure out what is wrong with my odbc setup which would lead
    isql (and probably RODBC) to use this connect string (beq protocol, etc.).
    I am guessing that is where the problem stems from.
    Can you help me figure out how to find out what I am doing wrong
    when configuring the odbc setup?
    Thanks,
    Ari
    Edited by: amozes on Mar 20, 2009 11:06 AM

    That's easily explained.
    As you find documented in
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15699/post_inst_task.htm#sthref398
    you have to set 'ServerName' in odbc.ini to your TNS alias, in your case:
    ServerName = nickel
    Since you did not give a ServerName, Oracle assumed that you want to connect to a local database.
    As you rightly assume, the ORA-12162 indicates that ORACLE_SID is not set, which is needed for a local connection.
    If you set ORACLE_SID, Oracle will try to establish a local connection by executing a server process $ORACLE_HOME/bin/oracle.
    Since this executable cannot be found, you get the ORA-12545.
    Yours,
    Laurenz Albe
    PS: Your solution is better, as it does not require a tnsnames.ora file.

  • How to install or configure new odbc driver in ODI

    Hi
    I want to configure filemaker 11 in odi to do this i have an filemaker odbc driver. Will it be possible to configure this odbc file as new technology in ODI?
    If possible please let me know the procedure to do it.
    Thanks in advance
    Regards
    Sandeep

    Hi Hussein,
    Thanks for your valuable reply
    Now i have followed the 2 documents which 1 i need to follow ..
    1. Installing Oracle E-Business Suite Extensions for Oracle Endeca, Release 12.1.3.2 (Doc ID: 1517172.1)
    2. http://docs.oracle.com/cd/E18727_01/doc.121/e37993.pdf
    I Need the output like GUI method for the products..
    i am new to oracle endeca i dnot know how to proceed the installation and configurations 
    while downloading the software from edelivery it shows list of software for endeca which 1 need to download for the installations
    https://edelivery.oracle.com/EPD/Search/handle_go
    Kindly suggest me
    i am waiting for your valuable reply

  • Configure TNSNAMES for SOLARIS & LINUX

    How can i configure the TNSNAMES file on the server that has Solaris as its Operating System(OS) and another server that has LINUX as its Operating System(OS).
    I tried to configure the TNSNAMES on LINUX server and connected it but it gives an error.
    The following is how i have defined in my TNSNAMES file on the client machine:
    TZR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = tzr)
    VIS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.67)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = VIS)
    For SID TZR the toad and workflow is getting connected but for VIS it is giving me the following error:
    ORA-12537: TNS: connection closed.
    NOTE: TZR server has OS Windows 2003 server installed while VIS server has LINUX as its OS
    Please can any one help me how to connect to the database?
    Thanking you in advance,
    Chetan

    12537, 00000, "TNS:connection closed"
    // *Cause: "End of file" condition has been reached; partner has disconnected.
    // *Action: None needed; this is an information message.
    There must be additional messages that point to why the connection was closed. This message (as you can see from the above description) is pretty meaningless ito why the disconnect happen.
    Wild shot in the dark:
    I have seen this however with an incorrectly configured firewall. On iptables one would typically create a rule as follows:
    # Allow Oracle Listener connections
    iptables -A INPUT -p tcp --dport 1521 -i eth0 -j ACCEPT
    However, it alone does not suffice as you need to add:
    # Stateful Packet Inspection to allow established connections through
    iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT

  • ODBC on Linux: libsqora.so.10.1: undefined symbol: _tcsnccmp

    I try to access an Oracle database via iODBC from openSUSE Linux 10.3.
    I have installed the following packages from the Oracle web page:
    oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    oracle-instantclient-devel-10.2.0.4-1.i386.rpm
    oracle-instantclient-odbc-10.2.0.4-1.i386.rpm
    oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm
    and I have installed from iodbc.org
    libiodbc-3.52.6-1.i386.rpm
    libiodbc-admin-3.52.6-1.i386.rpm
    libiodbc-devel-3.52.6-1.i386.rpm
    After a bit of configuration I called:
    $ iodbctest NMR2
    iODBC Demonstration program
    This program shows an interactive SQL processor
    Driver Manager: 03.52.0607.1008
    1: SQLDriverConnect = [iODBC][Driver Manager]/usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1: undefined symbol: _tcsnccmp (0) SQLSTATE=00000
    2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
    What is _tcsnccmp and where can I get it from?
    Googling around leads me to a prototype
    int tcsnccmp(const TXCHAR* string1, const TXCHAR* string2, sizet count);
    and it seems that it is a localised string comparison routine. I found it in Windows and
    WINE documentations - do I have to install WINE in order to use Oracle ODBC?

    not sure whether installing WINE will help, try with 11.1.0.6.0 version of instant client libraries.

  • Help Using Instant Client ODBC on Linux

    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

    We are also interested in the very same thing. We are using third party compiler called SIMSCRIPT from CACI which has a module called SDBC for database connectivity. SDBC requires ODBC to be installed/configured. Our application is for Linux, therefore we are interested in using the ODBC driver on Linux clients to connect Oracle database servers on Linux and Sparc. I see the odbc related zip (for 10g) and rpm (for 11g) instant client files on the OTN Instant Client download page. How to install/configure odbc instant client? Is there a document/whitepaper/Metalink Note ?
    Thank you

  • Shared disk (SAN EVA 4400) configuration for ASM on linux RHEL5

    Hi all,
    I want to install RAC database (oracle 10g on RHEL5). Now we are configurind shared storage for the both servers (nodes). In disk configuration (SAN on EVA 4400) we have created the volume group for the disk to use for ASM and present the disk group to the servers. Actually when we check the server we cannot see the disk (shared storage).
    [root@cdr-analysis01 ~]# ls /dev/cciss/ -lR
    /dev/cciss/:
    total 0
    brw-r----- 1 root disk 104, 0 Jul 1 2009 c0d0
    brw-r----- 1 root disk 104, 1 Jul 1 14:29 c0d0p1
    brw-r----- 1 root disk 104, 2 Jul 1 14:29 c0d0p2
    brw-r----- 1 root disk 104, 3 Jul 1 14:29 c0d0p3
    brw-r----- 1 root disk 104, 4 Jul 1 2009 c0d0p4
    brw-r----- 1 root disk 104, 5 Jul 1 14:29 c0d0p5
    brw-r----- 1 root disk 104, 6 Jul 1 14:29 c0d0p6
    brw-r----- 1 root disk 104, 7 Jul 1 2009 c0d0p7
    brw-r----- 1 root disk 104, 8 Jul 1 14:29 c0d0p8
    (they are local disks not the shared disk)
    My questions are:
    - How to mount the disk to be seen in the server
    - How to configure the disk for ASM is there any document for this. In my knowledge the disk to use for ASM doesn't need to be formated with a file system and shouldn't see when we run the df command.
    Does anybody can help me as it's very urgent for us.
    Thank you
    Raitsarevo

    Hi all,
    NOw the disk is presented to server. but my actual problem is how to create shared partition of this disk for the servers.
    Our actual status is we have created one volume group with 500 Gb in the sun and this volume group is called vg_oradata. we will use this storage for OCR, voting disk and the databse file (ASM). A si know from documentation i have to create one shared partition for OCR, one shared partition for Voting disk and another for database.
    That i want to do is creating for example :
    ocr_partition (25 Gb) : for OCR
    vote_partition (25 Gb): for Voting disk
    oradata_part1 (150 Gb): for database (ASM)
    oradata_part2 (150 Gb): for database (ASM)
    oradata_part3 (150 Gb): for database (ASM)
    My problem is how to create this partition because when i'm trying to create it from Logical Volume Manager of Linux i cannot find them in to servers.
    I mean i'm new in system administrator and our SAN vendors also doesn't know how to it in LInux system.
    Could you help me please if possible.
    My system is Linux Red Hat Enterprise 5 and i'm going to use Oracle 1Og RAC.
    Thank you
    Lucienot

  • ODBC on Linux

    I have C++ code that uses ODBC to access a data source. I would like to port this code to run on Linux and have it access an Oracle 8i database also on Linux. Yes I can get ODBC drivers for 8i, but if I understand the drivers correctly they just provide a service that takes tcp/ip, or remote command, requests and forward them to the database. I will need these drivers to forward ODBC requests to the database. What I need is either a C library that takes ODBC calls and converts them to some ipc mechanism and talks to the Oracle database, or a cook book chart that maps ODBC calls to OCI calls. Can this be found anywhere? I am sorry if this is not the correct forum (if it isn't please direct me to the proper forum). I've already tried the Linux forum but they were useless.
    Thanks,
    Andy.

    Check with Merant Corp at www.merant.com. The last time I checked they had ODBC drivers at least on Solaris sparc, HP, and AIX.

  • OBIEE 10.1.3.4.1 & MySQL ODBC on linux.  Generated SQL is wrong.

    Anyone know how to fix this situation?
    We are running OBIEE 10.1.3.4.1 on Redhat Linux 5.3 with MySQL ODBC connector.
    When connecting to MySQL we have need to connect to multiple databases.
    Problem is that OBIEE is generating incorrect sql.
    Example:
    select * from db_name..table_name;
    Note the two dots between db and table.
    This is incorrect syntax for MySQL. Should be only 1 dot.
    But I can't find a way to get OBIEE to only use 1 dot.

    MySQL is not a supported Datasource.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10417.pdf

  • ODI reading Excel via ODBC on Linux

    I've got ODI loading data from Excel via ODBC with everything running on Windows, and it runs fine!
    But will this work when I run ODI on a Linux platform? Will I have to buy some kind of ODBC driver for Excel under Linux? Has anyone done this before?
    Any help gratefully received!
    Thanks
    A

    There exists a native JDBC driver for excel, it is a sourcefourge project. This allows you to read excel data irrespective of platform through JDBC rather than having to use the JDBC/ODBC bridge.

  • Cscheck error when testing ODBC on Linux

    I am trying to test ODBC setup on linux with the cscheck utility at /bobje/enterprise120/linux_x86/dataAccess/RDBMS/connectionServer/tools
    I have sourced ./env.sh before and then when I try ./cscheck I get:
    ./cscheck: error while loading shared libraries: libcsck_core.so: cannot open shared object file: No such file or directory
    I have the libcsck_core.so at /bobje/enterprise120/linux_x86 directory and I have included this in the PATH and LD_LIBRARY_PATH.
    Any ideas where the libcsck_core.so should be located for the cscheck to work ?
    Thanks, Timo

    The real issue is here when trying to retrieve data with WebI report:
    A database error occured. The database error text is: (CS) "DBDriver failed to load : /data/boxi/boserver/bobje/enterprise120/linux_x86/dataAccess/RDBMS/connectionServer/libdbd_mssql.so (libodbc.so: cannot open shared object file: No such file or directory)" . (WIS 10901)
    libodbc.so is located at:
    /data/boxi/boserver/bobje/enterprise120/linux_x86/odbc/lib/libodbc.so
    and it is in LD_LIBRARY_PATH
    /data/boxi/boserver/bobje/enterprise120/linux_x86/odbc/lib
    I wonder where libodbc.so should be located ?

  • OBIEE11g client configuration using odbc on windows 32

    Hi,
    I can able to install obiee11g on windows 32 but after installaion it points directly to odbc32 so from here how to go? can i go for System DSN or else what?
    Thanks in advance...
    Regards,
    Abs

    HI,
    http://gerardnico.com/wiki/dat/obiee/odbc_driver_bi_server_create -- how to create DSN With screen shot step by step.
    Steps :
    1. Go--> Run-->odbcad32 once execute this command it will show ODBC Data Source Administrator.
    2. Here Select System DSN--> Click ADD--> You can select -- Oracle BI Server --> Give me name as you like --> Server---> YOUR linux server ip-->next -->next --> finish.
    http://oraclebiblog.blogspot.in/2010/11/obiee-11g-setup-client-dsn-for.html --- Another video link Please refer this link.
    Loop Back adopter:
    http://gerardnico.com/wiki/windows/loop_back_adaptater
    Hope this help's
    Thanks,
    Satya

  • Databases for ODBC on linux/unix

    will these commands work on both linux and unix or just unix?
    gunzip < mysql-xxxx.tar.gz | tar xvf -
    ./configure with-apache=/path/to/apache/dir with-mysql=/usr/local/mysql

    I would give it a try all of the commands you listed exist on my redhat box ie. tar, gunzip, ./configure.
    but when you are untarring you can type:
    tar -zxvf xxx.tar
    and it will untar and unzip it for you.
    what program are you trying to install?

Maybe you are looking for

  • What's with the tab key in the new version of Pages

    In the previous version I could have a list and was able to tab within a line in that list and it would recognize the tabs. Now, if you are in line, shifts the position of the list level. Version 2 1. My list line could tab to here $50.00 2. Second l

  • Mapping Problem -UDF

    I have a scenario where i had to map file data to a Z rfc in R/3. but i am new to java language ...can any one help me.. My source File field is : EDI_DC40  2DELVRY02RCVCONN <b>E2EDL20                       xxxxx</b> E2EDL24                       fie

  • Page jumps to bottom of form on load

    I have embedded this form and each web page jumps to the bottom of the form. If my content is more than a couple of lines then the page navigates to the bottom on page load. Running inside IBM Web Content Manager Portal system. Had the developers loo

  • What is conversion routine which is found in data element

    Hi all, I was just trying to creating a data element assigned to a particular domain in se11. While i am creating i can see a conversion routine Can anyone tell me what is the use of that conversion routine with an example. thanxs in advance hari

  • How to tranport the product Hierarchy?

    Hi All,          i have added set types to a custom Hierarchy and need to transport how can i do ? Regards, Azeem.