Dg4odbc connectivity frto db2

I am trying to set up connectivity from an aix oracle 10.2.0.4 to db2 on mainframe using dg4odbc and datadirect driver. My setup is as follows:
listener.ora
SID_LIST_LISTENER_ODBCDD=
(SID_LIST=
(SID_DESC=
(SID_NAME=DITDD)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/tg_1)
(ENVS=LIBPATH=/u01/app/ConnectforODBC60/lib:/u01/app/oracle/product/11.2.0/tg_1/lib)
(PROGRAM=dg4odbc)
LISTENER_ODBCDD =
(ADDRESS =
(PROTOCOL = TCP)
(HOST =gphaix04.cgic.ca)
(PORT = 1531))
tnsping ditdd works
initDITDD.ora
HS_FDS_CONNECT_INFO = DITDD
HS_FDS_TRACE_LEVEL =DEBUG
HS_FDS_TRACE_FILE_NAME = hsmsql.trc
HS_FDS_SHAREABLE_NAME=/u01/app/ConnectforODBC60/odbc.so
set ODBCINI=/u01/app/ConnectforODBC60
when I try the sql I keep oon getting the following error:
select * from dtest1.customer@ditdd
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from DITDD
in the trace file I keep on getting:
$ cat DITDD_agt_839918.trc
Oracle Corporation --- FRIDAY FEB 19 2010 16:49:24.841
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- FRIDAY FEB 19 2010 16:49:24.833
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
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 "DITDD"
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:DITDD
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=871
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=31
HOCXU_SEM_VER=102000
Entered hgolofn at 2010/02/19-16:49:24
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/u01/app/ConnectforODBC60/odbc.so"
Entered hgolofns at 2010/02/19-16:49:24
hoaerr:28500
Exiting hgolofns at 2010/02/19-16:49:24
Failed to load ODBC library symbol: /u01/app/ConnectforODBC60/odbc.so(SQLAllocHandle)
Exiting hgolofn, rc=28500 at 2010/02/19-16:49:24
Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 ID:Loading ODBC aray of function ptrs
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 ID:Connection context
$
Thanks

According to your setup the ODBC driver manager is located in
HS_FDS_SHAREABLE_NAME=/u01/app/ConnectforODBC60/odbc.so
As far as I know commonly DataDirect's ODBC driver manager is located in the lib directory of their installation location.
Please check where the driver library is located - in /u01/app/ConnectforODBC60/odbc.so or /u01/app/ConnectforODBC60/lib/odbc.so and then correct the parameter if necessary.
In addition please make sure you've installed the 64bit ODBC driver (file <location>/odbc.so)

Similar Messages

  • DG4ODBC connectivety to DB2

    Hi All,
    I am totally new to Oracle and i need help.
    I configured dg4odbc to connect to db2 zos. i am able to run query against db2 table using sqlplus and i can see the results. However, when the odbc application is invoking the results are not populatng on their screen. The application seems to be hunged, however, when I set the trace level to debug I notice that multiple queries are being run and rows returned but these results are not being returned to the application.
    i used the following HS parameters, let me know if i am missing something or you need more information to help me.
    HS_FDS_CONNECT_INFO = DB2DUD1
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_LANGUAGE = AMERICAN_AMERICA.US7ASCII
    HS_FDS_TIMESTAMP_MAPPING =CHAR
    HS_FDS_SQLLEN_INTERPRETATION=32
    HS_NLS_DATE_FORMAT=YYYY-MM-DD
    HS_RPC_FETCH_REBLOCKING=OFF
    HS_FDS_DELAYED_OPEN=TRUE
    HS_RPC_FETCH_SIZE=40000
    HS_FDS_FETCH_ROWS=20000
    Thanks
    Santosh

    Hi Mike,
    I am using DG4ODBC on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Linux. The application works fine when its using transparent gateway, but when i switch to use the dg4odbc the application screen hangs.
    previously i had HS_FDS_DELAYED_OPEN=TRUE as default, but i changed it later to FALSE based on few articles, but no luck so far.
    The application is a VB application that connects to an Oracle database that has synonyms pointing to DB2 and local Oracle tables
    The query i used through sqlplus was the one captured in the trace. i get the results populated when running through sqlplus and trace also indicates the query ran and the same number of records fetched, but it does not populate the results leading to a hunged screen. These tables are also pretty small, few thousands and the count on the below query is about 19K
    SELECT A1.ORG_ID,A1.ORG_FROM_DT,A1.ORG_THRU_DT,A1.ORG_SHORT_NAME,A1.ORG_LONG_NAME,
    A1.ORG_STABLE_NAME,A1.ORG_TYPE_ID,A1.PARENT_ORG_ID,A1.OFFICE_ID,A1.ELAS_DIVISION_CD,
    A1.ELAS_AGENCY_CD,A1.ELAS_DISTRICT_CD,A1.ORG_MANAGER_IND,A1.CENTER_CD,A1.ORG_START_DT,
    A1.COMMENTS_TXT,A1.ORG_CLOSE_DT,A1.ASU_NUMERIC_CD,A1.ASU_ALPHA_CD,A1.ORG_HQ_CD,A1.CREATION_TSTP,
    A1.UPDATE_TSTP,A1.UPDATE_ID,A1.EQUIPMENT_CODE,A1.ORG_ID,A1.ORG_TYPE_ID,A1.ORG_FROM_DT,
    A1.ORG_THRU_DT,A1.ORG_THRU_DT,A1.ORG_MANAGER_IND,A2.ORG_TYPE_LEVEL_CD,A2.ORG_TYPE_ID
    FROM HROCTST.ORG A1,HROCTST.ORG_HIERARCHY_CODE A2
    WHERE A1.ORG_TYPE_ID=A2.ORG_TYPE_ID AND A1.ORG_ID<>0 AND A1.ORG_FROM_DT<='04/01/2014'

  • Connecting to db2 from report builder via odbc

    Hi!
    Some manuals said, it is possible to connect to DB2 from Oracle SQL*Plus (we have version 8.0.6.0.0)
    and from Oracle Report Builder.(6.0.8.11.3)
    User must install OCA (Oracle Open Client Adapter for ODBC (6.0.5.29.0)) and make ODBC entry.
    I did it.
    run with: plus80 db2user/db2pass@odbc:db2test
    SQL*Plus made the connection, but with errors:
    SQL*Plus: Release 8.0.6.0.0 - Production on Fri Oct 17 16:12:56 2003
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    DB2/NT 08.01.0000
    SQL>
    The error refers PUPBLD.SQL, but I think it is Oracle specific, don't help.
    Worse, that it can't connect from Report Builder, it just throws error.
    If I set OCA_DEBUG=TRUE in registry, I have bonus messages:
    oca-30053 unsupported network call (oracle code: 3115)
    oca-30002 ubofssw function not supported (1010)
    I tried to connect to MsAcces too, but I got same errors.
    Have you any idea, how can I solve this?
    Thanks

    resolved
    I just add the master entry in the c:\Report\NET80\ADMIN\tnsnames.ora, and it works.
    but I can't connect with the system or sys accounts, it work just with scott/tiger.

  • Error when connecting to DB2/AS400 as a Datasource

    Hi All,
    I have an issue when connecting to DB2/AS400 as w datasource with IR studio. I am able to create an OCE but when click on tables it throws an error saying ""INFORMATIC.DM3601PF" is an undefined name. SQLSTATEB704
    sqlstate = 42S02
    The drivers I used is the drivers provided by the IBM DB2 and also the Merant drivers provided for Hyperion by DB2. I used ODBC/DB2, ODBC/ODBC, ODBC/AS400 connection while creating an OCE but it did not help.
    The exact version of the database is DB V5R4--AS400--OS. It is a 64 bit client.
    Can anyone help!!!
    Thanks,
    Sree

    Hi,
    Connecting Hyperion with DB2 is simple. When we install DB2 client on the machine it adds a new entry in ODBC drivers, using that DB2 Driver create a system DSN by selecting the appropriate DB. Give the proper credentials.
    Now open Hyperion IR select new Database option...Select ODBC/DB2 and choose the DSN name given by you while creating the system DSN. give the correct credentials to connect to DB.
    After that it will ask for OCE creation...just create oce by giving app name and you are done with the connection.

  • Problem with connecting to DB2 from ADFBC

    I have a problem with connection to DB2 data using ADF BC components. Everything looks fine till I run the page(JSF) to see the data of a db2 table. I created a read only view object. This view is registered in the AM and from AM the view is returning the rows without any problem. But when I am running the page which has the view as a table these errors are thrown. Please help me to fix this.
    JBO-30003: The application pool (od.mft.views.MFTServiceLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
    ## Detail 0 ##
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220
    ## Detail 0 ##
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:545)
    Thanks
    Gangs

    Steve, the tester works good as expected and its retreiving the rows. As I said earlier the problem is with the JSF page when I ran the page on Embeded Oc4j of Jdev the page showing the above. The exception does not show on the console.
    Please let me know if you need any more details.
    thanks
    Gangs

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

  • 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

  • What do I need to install on server BO to make a new connection to DB2 ?

    Hi experts,
    i'm on a RedHat Linux server, and the CMS DB is on Oracle, and all the universes are connected to Orale.
    Now I have to do a new universe that points to a new DB2 v9.7 data warehouse.
    1) What do I have to install on server to make my DB2 connection work?
    2) I've seen there are 2 diferent type of connection to DB2: "Client IBM DB2" and "Driver JDBC", what is the better connection?
    Best Regards
    Camillo Rospigliosi
    BO XI 3.1 SP2
    Linux RedHat 5 server
    Oracle 9 repository

    Hello,
    you have to install the DB2 Client on your BO Server. Please install the 32Bit Version ob the Client. After the Installation you have to cataloge your DB2 Database(s).
    Also you have to install the DB2 Client on your Development PC where you develope your DB2 based Universes.
    Regards
    -Seb.

  • How to connect to DB2 from ABAP program

    Hi,
    In my ABAP program I need to retrieve 3 fields from one table of DB2 database. I have tried creating an RFC connection in SM59 and then using native SQL in abap code but could not succeed.
    I have also maintained an entry in DBCON table but am unable to connect through program.
    Pls suggest.
    Thanx in advance.

    Preeti-
    DBCON may not work for you because your target is DB2. You SAP system should have the suitable driver files for connecting to DB2 and I don't think currently this is supported.
    However, there are other ways of doing it. One ofcourse is to use a middleware tool, which I guess you don't have in your landscape.
    If investing on a middleware tool is out of scope, here are other options
    1) If you are a microsoft shop, use .NET connector (freely downlaodable from SAP service market place). You can develop a .NET component which will use .NET connector for connecting to SAP and OBDC to connect to your AS400 system. The OBDC drivers can be obtained from IBM.
    2) If you are a java shop, you can develop a java code which can run on your AS400 system or a separte server (windows,unix..).
    This java code will use JRFC/JCO (again downloadable for free from SAP service market place) to connect to SAP while it will use Client access ODBC drivers or JT400 drivers (google JT400) to connect to your DB2 database.
    Though developing this is not a great deal, could be bit challenging if done for the first time. Let me know which way you wanna go and I can guide with more information/code samples.
    KK

  • DB Adapter connecting to DB2

    "We are using DB Adapter to connect BPEL (10.1.2.0.2) to DB2 V7 (Z/OS) using the DataDirect JDBC Drivers. If we connect using the DBA's username/password (SYSADM role), it seems to work fine. But if using any other user's username/password, we cannot see any tables/views/etc. from JDeveloper - and no schemas are available to choose from either. The DB2 DBA has not used JDBC to connect to their DB2 instance before - but cannot see any missing permissions for the non-DBA usernames. The catalog has public read permissions - and all of these users can see everything just fine if they go in through the normal green-screen console. Does anyone have experience with connecting to DB2 on Z/OS and can help us?"

    Hi Anuj,
    I tried the Option 2 given in the thread which you have mentioned.
    Our DataSource is targeted to the managed server so we just restarted the managed server.
    I am still getting the same error of
    "Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed."
    Are there any other alternative approach to fix this issue?
    Regards
    Nithya

  • Connect to DB2 from oracle 11g on windows 2008 server

    Hi Folks,
    I want to conenct to DB2 from oracle 11g using DB link.
    DB2 :
    user : db2user
    pwd : db2pwd
    database : db2database (OSBLDEV)
    able to connect to db2 server (installed on machine M1) using db2 client with above details from machine M2 (where oracle is installed).
    Oracle :
    user : orauser
    pwd : orapwd
    host : orahost
    port : 1521
    service : oraservice
    able to connect to oracle server using oracle sql developer with above details on Machine M2 (windows 2008 server)
    when i execute the query with database link
    select row_id from siebel.s_org_ext@OSBLDEV;
    I get the message : ORA-12154: TNS:could not resolve the connect identifier specified.
    could you pls check and let me know whether the below enteries are correct or not.
    Pls share if you have step by step connectivity from DB2 to oracle using DB link.
    1. I have created the Data source for DB2 - test successful
    create database link OSBLDEV
    connect to "db2user"
    identified by "ldb2pwd"
    using 'OSBLDEV';
    1. I have made the following entry in E:\oracle\product\11.1.0\db_1\hs\admin\initosbldev.ora
    HS_FDS_CONNECT_INFO = OSBLDEV
    HS_FDS_TRACE_LEVEL = 0
    2. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
    OSBLDEV =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (CONNECT_DATA=(SID=OSBLDEV))
    (HS=OK)
    3. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora and releoaded the listner (lsnrctl reload)
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
         (SID_DESC = # this is the entry for HSODBC
         (SID_NAME = OSBLDEV)
         (ORACLE_HOME = e:\oracle\product\11.1.0\db_1)
         (PROGRAM = hsodbc)
    Thanks in advance.

    1. My listener.ora is placed at the below location:
    E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN
    2. I have modifed the listener and removed the entry - hsodbc
    3. stop and start the listener.
    still can't see the service entry in listener status.
    C:\>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 19-JUL-2010 02:27
    :08
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - Produ
    ction
    Start Date 19-JUL-2010 02:21:17
    Uptime 0 days 0 hr. 5 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File e:\oracle\diag\tnslsnr\DALDEVDBCRM1\listener\alert\log
    .xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=daldevdbcrm1.corp.nai.org)(PORT=1521
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV_XPT" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBAXDB" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "aiad.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiadXDB.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 1 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiad_XPT.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aianew" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianewXDB" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianew_XPT" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>

  • Not able to connect to DB2 using generic connectivity

    Hi
    We are trying to connect to DB2 using Oracle Generic connectivity and we are getting ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from ODB2
    Log file is not even generated even though we set the parameter to debug. We are using Oracle 10g on Linux and Neon Shadow direct to connect to db2.
    The following are the setup we had done in our oracle db side
    initdb2.ora
    HS_FDS_CONNECT_INFO=NEON_dev_conn
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_SHAREABLE_NAME=/home/NEON/Shadow/lib/libscodbc_r.so
    added below entry in listener.ora
    (SID_DESC =
    (PROGRAM = hsodbc)
    (ENVS=LD_LIBRARY_PATH=/home/oracle/product/10.2.0/lib:/home/NEON/Shadow/lib)
    (SID_NAME = db2)
    (ORACLE_HOME = /home/oracle/product/10.2.0)
    added below entry in tnsnames.ora
    DB2ODBC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.db.com)(PORT =1523))
    (CONNECT_DATA =
    (SERVICE_NAME = db2)
    (HS = OK)
    Please suggest on this.
    Regards
    S. Senthil

    No gateway log information generated even with setting trave level to DEBUG indcates that the listener cannot start the gateway process.
    Please check the listener.log for details on the failure. Secondly, what kind of Linux is it? 32- or 64-bit?
    Regards,
    Ed

  • Building an APEX app that connects to DB2/UDB

    I have NO experience with APEX but - have been browsing the documentation in considering it's use as a web application/dashboard reporting utility.
    However - I'm wondering if it allows for the ability to connect to DB2 as well as Oracle...
    i.e. - building a form that allows a user to 'pull' data for analysis from a DB2 instance and - generate reporting results that would then be stored in an Oracle instance.
    I apologize if this has been answered - or was answered in some obvious way that I missed in the documentation.
    Any help is appreciated.
    Thanks

    It requires the use of an Oracle database. If you want to use heterogeneous services services to communicate with an external non-Oracle database, you may be able to do it. But if you have no need for an Oracle db, and just want a dashboard solution for DB2, this is really not the product for you.
    I say it requires the use of an Oracle database because it runs off of database packages written only in pl/sql, thus can't port to other databases.
    In this case you'd probably want to use php or something that can connect to multiple data sources.

  • I need Help for Connect To DB2 with JDBC

    I'd like to know why I Have this problem.
    The DB2 v 5.10 is in a IBM OS/390
    I know the IP, PORt, DBNAME and I'd like to connect to DB2 with my windows XP using JDCB from IBM.
    I use JDBC Universal for DB2 type 4.
    Class.forName("com.ibm.db2.jcc.DB2Driver");
    Url = "jdbc:db2://IP:PORT/BDNAME";
    DriverManager.getConnection.... (url, user, pass)..
    If I execute this, I have next problem
    SQL state = null
    Error code = -4499
    There is no available conversion for the source code page, 1208, to the target code page, "". DB2ConnectionCorrelator: null
    Why is this?
    Finally, the web application will running in a AIX IBM with machine, It could be that this machine (aix) can connect with the IBM OS/390 with JDBC for iBM?
    Thankss!!!

    Check how you configured the IP on the laptop and computers, assigned by router with DHCP feature enabled? Or configure manually? If it's assigned by wireless router, then make sure you assign big enough IP range in DHCP setting. Take a look on using ping to troubleshoot network and wireless router configuration articles to help you more..

  • Crystal Report Connect to DB2 z/OS

    Post Author: pabhijit
    CA Forum: Data Connectivity and SQL
    Hi
    I am trying to make a DB2 connection from the crystal report interface using JDBC(JNDI).Using com.ibm.db2.jcc.DB2Driver as the database class name.
    Database  - Mainframe DB2 z/OSCrystal report version - Crystal Report 11.0Database Class name     - com.ibm.db2.jcc.DB2Driver
    Getting the below error.
    Failed to retreive data from database.Details: SQL Exception: &#91;SQL State&#93; null &#91;Error Message&#93;Invalid argument: unknown column name TABLE_NAME &#91;Database Vendor Code: -99999&#93;
    Can anyone guide what am I missing..?

    Post Author: pabhijit
    CA Forum: Data Connectivity and SQL
    Hi thanks for the response
    Well let me rephrase my issue.
    Usually when we connect to any other DBMS e.g Oracle/Sybase it downloads the schema into the crystal report interface, that makes life simpler while designing report.In my case schema is not getting download when am connection to DB2 z/OS. However I can connect to the DB2 server and can use any SELECT from Table queries from "Add Command" option.

Maybe you are looking for