Oracle ODBC Connectivity with db2

I want to connect forms/reports with
IBM DB2 Database installed on the
same machine.But while connecting
through odbc driver it gives "Invalid
session id,access denied"and does not
get connected.Same message comes when
one gets connected to sql but it runs fine.
I have tried in two ways to configure ODBC.
1. Using Client Configuration Assistant
of DB2.
2. Usgin OCA and Intersolv odbc
driver coming along with the cd.
Forms and reports are 6i and
db2 version is 5.
Thanks in advance.
Milind

Dear Ajay,
I used heterogenous connectivity to connect to DB2 but it is very very slow. And checked about Oracle gateway to Db2 and came to know that it is also very slow. The next solution was using ODBC to db2 using Forms 6i Patch 13. The connectivity is very good otherwise u can use DB2 Information Integrator software (cost about $20-50 K). If you need any more information please let me know.

Similar Messages

  • Oracle 8i connectivity with DB2

    Hi,
    I want to connect to DB2 from Oracle 8i. I have read some documentation about Oracle gateways but it is not clear of how exactly we can connect to DB2.
    If any one has done this before please let me know th detail steps of how we can connect to DB2.

    For your kind information (more)
    When I used JDBC-ODBC Bridge,
    It just gave an error message : [Microsoft ODBC for Oracle]
    and
    when I tried the command at DOS prompt,
    javap oracle.jdbc.driver.OracleDriver
    it gave message ERROR: javap oracle.jdbc.driver.OracleDriver could not be found
    Please Help me
    Hara Gopal

  • Howmany oracle user connect with oracle server.

    hi all
    howmany oracle user connect with oracle server.
    i want query for above sentance.

    Robert,
    This query will show us the username who are connect to a particular database. If OP wants that how many overall users are connected to his/her oracle server (which is having more than one db) then please tell us. Suppose 10 users are connected with db1 and 20 users are connected with db2.. like that.
    Regards
    Girish Sharma

  • Setting up Secure connection with DB2 database on IBM iSeries

    We have requirement to setup Secure connection with DB2 database on IBM iseries system. currently we are using ODBC type of connectivity which is not secure. Can anyone help how to set up Secure connectivity. below are the system details . . Application - IDQ - 9.6.0 Database - DB2 on IBM iSeries AS400

    We have requirement to setup Secure connection with DB2 database on IBM iseries system. currently we are using ODBC type of connectivity which is not secure. Can anyone help how to set up Secure connectivity. below are the system details . . Application - IDQ - 9.6.0 Database - DB2 on IBM iSeries AS400

  • NetBean, I can't establish the oracle database connection with version 9i.

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

  • Oracle heterogeneous connectivity for DB2

    Hi,
    We want to connect DB2 database with Oracle 8i. We have read that it is possible with Generic connectivity and Transparent gateways.
    Any one knows the differece between the two when connecting to DB2?
    Which one is simpler if we have to use dblink concept
    Thanks,
    Ajay

    Dear Ajay,
    I used heterogenous connectivity to connect to DB2 but it is very very slow. And checked about Oracle gateway to Db2 and came to know that it is also very slow. The next solution was using ODBC to db2 using Forms 6i Patch 13. The connectivity is very good otherwise u can use DB2 Information Integrator software (cost about $20-50 K). If you need any more information please let me know.

  • Odbc-connection with ms-access

    hello,
    this is my problem
    if I migrate an MS Access db to Oracle with the OMW than is the ODBC connection, from MS Access to Oracle, perfect.
    Bud I have used the migration script witch is generated by OMW and by made a connection from MS Access to Oracle in some tables the ODBC connection Failed.
    What is the problem????
    Thanks
    Andre

    You don't need MS Access installed to use the JDBC-ODBC driver.

  • Oracle ODBC driver with Access Application

    I get a problem when using MS-Access 2007 DAO recordset built on table hosted by an Oracle database 10g and connected thru ODBC
    The table scheme is :
    idPartenaire : number(11)
    libelle : varchar2(250)
    code : varchar2(5)
    actif : number(1)
    idCollege :numner(11)
    idPartenaire is generated by a sequence read in a trigger fired before insert on th table.
    The code I use in Access is :
    The query associated with the form is :
    "select * from table1"
    and the event procedure connected to a button on the form is :
    Private Sub Commande0_Click()
    Dim rs As DAO.Recordset
    Me.Recordset.AddNew
    Me.Recordset!libelle = CStr(Rnd) ' some value
    Me.Recordset!code = “”
    Me.Recordset!actif = -1
    Me.Recordset!idCollege = 1
    Me.Recordset.Update
    Me.Recordset.Bookmark = Me.Recordset.LastModified
    Dim idtemp As Long
    idtemp = Me.Recordset.idPartenaire
    Me.Requery
    Me.Recordset.FindFirst "idPartenaire = " & idtemp
    Set rs = Nothing
    End Sub
    When I run this code, I get an error 3167 (current record is deleted) on the line :
    idtemp = Me.Recordset.idPartenaire
    If I change the ligne :
    Me.Recordset!code = “”
    By :
    Me.Recordset!code = “xxxx”
    or if I comment this line, the error does not appear and I get the right value in idtemp variable.
    I tried also with the same table in a SQL Server database table. In this case it works fine in all cases.
    So, I seems that the problem is due to the Oracle ODBC driver. I tried with different versions of Oracle ODBC drivers (v10.0.2.4, v11.1.6)
    I search on Internet but I have not found any explanation or solution.
    Does anybody experiment the same problem (and find a solution)?
    Gilles Roussel.

    The two lines you quote aren't errors, they're warnings and they're pretty standard fare. If there isn't anything else in the ODBC log, then the driver isn't returning any errors. I'm not sure why Access is failing, so let's look at the client configuration first.
    - I assume you've successfully installed the 8.1.6 client on the machine with Access. Were there any errors during the install?
    - You say you're using the 8.1.6 version of the Oracle ODBC driver-- can you look to see what the last digit of the version is? If possible, I'd start by downloading the most recent 8.1.6.x ODBC driver from OTN.
    - Check which version of the MDAC you have installed (new versions & a version checker are available from Microsoft at <http://www.microsoft.com/data>.
    - The ODBC driver you download above will list which versions of the MDAC it is expected to work with. Make sure your version is one of the listed versions.
    Justin

  • Java connectivity with db2 in linux

    hi all,
    i wish to know how to connect java with db2 in linux.actually which is the string that is to be included in the following:
    class.forName("//which is the string that is to be included here");
    Connection con("jdbc:????");

    hi all,
    i wish to know how to connect java with db2same as every other database and OS. JDBC is the way.
    in linux.actually which is the string that is to be
    included in the following:
    lass.forName("//which is the string that is to be
    included here");full name of the DB2 JDBD driver class.
    Connection con("jdbc:????");look at the docs for your JDBC driver to figure out what the URL needs to be.
    %

  • ODBC Connectivity with Crystal Reports 2009 and MySQL

    Hi,
    I'm hoping someone can help me. We are currently running Crystal Reports CR Developer version 9.2.2.693 with an ODBC connection (ODBC 3.51 driver) to a My SQL database, version 4.0.18.*
    We want to upgrade to Crystal Reports 2008, CR Developer version 12.0.0.683, however when I try to run reports to the current database, I get the following error:
    *Database Connector Error: 2300:[MySQL][ODBC 3.51 Driver][mysqld-4.0.18-nt]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near  .client where 0=1  at line 1 [Database Vendor Code: 1064] *
    Has anyone encoutered this before? Do I need to get a different rev. ODBC driver? Thanks in advance for your help.

    Thanks for your suggestion, but since the same query works when I use Crytal Reports 9 to the same MySQL database, I don't think that's the issue. I wonder if it has to do with the driver.

  • Need help making odbc connection to db2

    I'm tying to connect to an ODBC connection and am getting an error, while running on NT V4, and Oracle v8.0.3.
    I cannot connect by issuing the following from the Command line
    PLUS80W.EXE user/passwd@odbc:db2_dev
    I get the following error message:
    ORA-12154: TNS:could not resolve service name
    Yet I can connect using Oracle's "Oracle ODBC Test", selecting the proper 'machine data source' and typing in the username and password.
    Any ideas on how to proceed?
    Do I need to add a service name to the tnsnames.ora file, if so, can someone provide a sample for an ODBC source?
    Thanks
    GL

    SQL*Plus is an Oracle tool. At one point, I believe there was a facility that let you connect SQL*Plus to other data sources via ODBC (the acronym for this was OCA, Open Client Adaptor, I believe). As I understand it, though, this has been desupported.
    There may be some folks in the SQL*Plus group that know the proper incantation to get this to work.
    Justin

  • Odbc connectivity with Data services 4.2

    Hi guys
    i have very general question to ask...
    presently i have dataflow which has one source table connects to query transform and further query transform connects with target table.. query transform has no filter, no order, no group by ... it is simple select * from source table ......... company where the source tables resides have given us their odbc driver to connect and extract same data... but it takes very long time to copy at our end.. i admit that data is more than 100 million (takes more than 4 hrs) records.. but could you please help me to debug what can be done to increase the performance and how can i check why it takes very long time...
    ODBC connection set up in administrative tools->ODBC application.. is there any other way to set up the odbc....
    when i run same query on the tool provided by them to connect with LIVE system.. it takes half of the time taken by data services to copy..
    I have tried changing the dataflow properties between in-memory/ pageable with degree of parallelism.
    what can i check on my end if anything wrong going at my end... before i tell anything to source company to see...
    I would be very greatful if anyone can help me to understand same.
    regards

    Hi,
    If your database is SQL server, install a SQL native client on the DS machine to connect to the DB. You don't need a ODBC for connection of DS with DB.
    Check this, assuming your DB is SQL.
    Can Data Services 4.1 Datastore connect to 32-bit MSSQL 2005 DB?
    SAP Data Services 4.1 - SQL Server Native Client issue
    Arun

  • ODBC Connection with one to many results

    Hi there - I have followed Stefan Cameron's excellent blogs on linking livecycle forms to data from an odbc connection however I have now become stuck.
    Effectively I have a form that populates part of the form with matching data for a specific id, however I then need to populate a different part of the form from another database connection that holds multiple records for that id.
    I have successfully completed the first part (YEAY!) however the second bit I cannot do - I have tried using the xfa.sourceSet.dataconnection.next() however this repeats the same data and doesn't seem to want to get the next record.
    What I seem to need is a mix of Stefan's "selecting specific records" (which works great for the first bit) then the retrieving ALL records bit from here
    http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connectio n/
    but only where the relation matches the first section.
    Does anyone have any ideas - I'm sorry if I am not being very clear - I can post more detail if needed.
    Regards,
    Bev.

    Thanks Paul - I already have two data connections as there are two different result sets I am working on
    To clairfy - the first data connection retrieves grant id, title name and address of all grants
    The second data connection then retrieves financial data for all projects related to those grants
    There are several records of financial data per grant.
    So the first bit of code retireves all relevant data for the grant selected.
    xfa.sourceSet.claimdata.#command.query.select = concat("SELECT grt_title, grt_contact, grt_org, grt_addr, grt_post FROM gs_user_claim_pdf_table WHERE grt_id = ",sGrtId, ";")
    xfa.sourceSet.claimdata.open()
    xfa.sourceSet.claimdata.first()
    This bit works fine
    The second bit is only working for the first record it finds - what I need to do is to loop through all the results and populate a repeating subform with the relevant results but I just don't know how!
    xfa.sourceSet.subproject.#command.query.commandType = "text"
    xfa.sourceSet.subproject.#command.query.select = concat("SELECT sub_prj_title,claim_amt,tot_est_cost,unit_type,total_units,funded_by,exp_type,grt_id,prj_ id FROM gs_user_sub_proj_table WHERE grt_id = ", sGrtId, ";")
    xfa.sourceSet.subproject.open()
    xfa.sourceSet.subproject.first()
    _subprojects.addInstance(1)
    xfa.sourceSet.subproject.next()
    Any pointers gratefully received!

  • Oracle ODBC Connection: TNS Problem?

    Hello!
    I'm trying to connect to a Oracle Database from a 64bit Linux machine.
    I'm using instantclient 10.2.0.4 64bit and oracle odbc driver.
    Here are all files and env variables, i created:
    ODBCINST.INI
    [Oracle]
    Description = Oracle Driver
    Driver = /usr/lib/libsqora.so.10.1
    UsageCount = 2
    ODBC.INI
    [DS1]
    Description = DS1
    Driver = Oracle
    Trace = Yes
    TraceFile = sql.log
    Database = //111.11.11.111:1111/db1
    User = user
    Password = pass
    LD_LIBRARY_PATH = :/usr/lib/oracle/10.2.0.4/client64/lib
    SQLPATH = /usr/lib/oracle/10.2.0.4/client64/bin
    I also had edited the SQLConnect.c and isql.c: http://sourceforge.net/tracker/?func=detail&aid=2260937&group_id=1544&atid=351544
    If i'm tring to connect to the database ( isql -v DS1 user pass ), i'm getting this error message:
    [S1000][unixODBC][Oracle][ODBC][Ora]ORA-12162: TNS:net service name is incorrectly specified
    I found a nice work-around for this problem:
    export TWO_TASK=//111.11.11.111:1111/db1
    After this change, i can connect to the database...
    But this means, all oracle connections are trying to connect to THIS server, right? But i need more then one server possibility...
    Any ideas?
    Thanks, mdo.

    Hello
    I have found the resolution to the problem , and below is the details if required by any one .
    Thanks
    Harshad
    1. Using MS Access, follow the process to link tables from the Oracle
    database using the user account you wish to restrict, until the list of
    attachable objects is shown.
    2. Note the tables that appear in the list. You should see a long list of
    tables owned by multiple schema owners.
    3. Without linking any tables, close the Link Tables dialog box.
    4. Create an ALL_OBJECTS view and ALL_SYNONYMS view in the user's schema in
    which you used to log into the database.
    For example:
    CREATE OR REPLACE VIEW SCOTT.ALL_OBJECTS AS
    SELECT * FROM SYS.ALL_OBJECTS
    WHERE OWNER IN ('SCOTT');
    CREATE OR REPLACE VIEW SCOTT.ALL_SYNONYMS AS
    SELECT * FROM SYS.ALL_SYNONYMS
    WHERE OWNER IN ('SCOTT');
    5. Using MS Access, again follow the process to link tables from the Oracle
    database using the user account from above to log in.
    6. Note the tables that show up in the list. The only tables listed should
    be those owned by the schema owner specified by the views, if the example
    statement above is used.
    --NOTE that this technique has the limitation that only objects actually
    owned by the view user will be viewable. For example, if the user has
    a synonym that points to an object in another user's schema, it will not
    be visible

  • Memory leak using Oracle ODBC connection. Works perfect with MSSQL.

    Hello,
    what could cause memory leaks which is not persistent. Sometimes in different OS and sometimes in different hardware. the common player to my issue is only with oracle.

    A memory leak that is not persistent is not a memory leak.
    You'll have to be way more specific for a more meaningful answer.
    Have you tried memory profiling tools for your operating system to locate the "leak"?
    Yours,
    Laurenz Albe

Maybe you are looking for

  • Transferring photos in Photoshop 11

    Have just transferred photos from old to new computer. Photos transferred OK but folder names did not. It would save a lot of work if folder names could be transferred as well. Running Photoshop 11 and Windows 8.1 Any help would be appreciated

  • Unable to ssh to servers from Solaris u10 server

    The majority of my systems were built with u5. We've recently added a few x86 VMs and a few zones running u10 and I'm having ssh issues with them. When I try to ssh to them, I'm unable to login using our keys and get presented with the password promp

  • Support for more than one hierarchy

    Is it possible to include more than one hierarchy in a Crystal Report? I have tried and am getting some unexpected results. I have two groups, each with it's own hierarchy. When I run the report, the top level hierarchy is returning "extra" summary n

  • How can import  nokia n97 contacts in iPhone 4

    How can import  nokia n97 contacts in iPhone 4  which is stored in window vista

  • Reg select-options

    HI All,        Can anyone of you tell me wat is wrong in the below code. TABLES:   EKKO,                           "Purchasing Document Header   EKPO,                           "Purchasing Doc Item   MARA,                           "Material   MARC,