Heterogeneous Services  with HTMLDB

Hi All,
I was wondering if HTMLDB exposes Heterogeneous Services connectivity to other datasources?
For example...if I create a DB Link to DB2 via a gateway is this information exposed in HTMLDB?

Howard,
Nothing HTML DB-specific about your question. You might try this forum:Heterogeneous Connectivity
Scott

Similar Messages

  • Heterogeneous Services with JDBC

    Is is possible to create an heterogenous service using JDBC. If so, how can I do it?
    Thanks
    Francisco

    Francisco,
    We support on ODBC and OLE DB drivers with HS.

  • Heterogeneous services with MS EXCEl

    Hi all!
    I have cofigure heterogeneous services for ORACLE and MS EXCEL.
    but the operation like UPDATE, INSERT , DELETE are not working.
    How can i get i right?
    rana adnan

    Hi
    yes error is here
    SQL> delete from student$@dlcompany;
    delete from student$@dlcompany
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Excel Driver] Could not
    delete from specified tables. (SQL State: S1000; SQL Code: -3049)
    ORA-02063: preceding 2 lines from DLCOMPANY
    rana adnan

  • Heterogeneous Services with password problem

    i need to connect to a password protected access database via oracle 9i.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358
    following the steps described at ASKTOM (link above) i was able to connect to access db and retrieve data that dont have any password. but i need to retrieve data from password protected access databse.
    can any1 pls help me?

    Hi
    yes error is here
    SQL> delete from student$@dlcompany;
    delete from student$@dlcompany
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Excel Driver] Could not
    delete from specified tables. (SQL State: S1000; SQL Code: -3049)
    ORA-02063: preceding 2 lines from DLCOMPANY
    rana adnan

  • Oracle Heterogeneous Services to create link With Excel spreadsheet.

    Hi
    Please adivse how to use "Oracle Heterogeneous Services" to create a database link from Oracle to the Excel spreadsheet.
    Wishes
    Jawad

    Dear Anwar,
    I'm using XPSP2 10gR2Enterprise
    SID=ORCL
    host=andor (my PC's name)
    Pls help me. I'm struggling with HS also so I've followed your lines, meaning:
    I can create the database link, but cannot retrieve data from source. (see 7.)
    1a. I have created the Excel file c:\EXCL.xls
    NEV DATUM BOOL NUMBER
    Stefán Balázs 09.nov TRUE 0
    Sebestyén Dénes 10.nov TRUE -11
    Tóth Andor 11.nov FALSE 12.3
    c: is partition on the same server where 10g sits.
    1b. I've created an ODBC system DSN for this excel file, named EXCL.
    2. tnsnames.ora has bee nupdated by this:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = andor)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    EXCL =
         (DESCRIPTION =
              (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = andor)(PORT = 1521))
              (CONNECT_DATA =
                   (SID = EXCL)
              (HS = OK)
    3. listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = EXCL)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = EXCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = andor)(PORT = 1521))
    4. initexcl.ora in hs directory:
    HS_FDS_CONNECT_INFO = EXCL
    HS_FDS_TRACE_LEVEL = 0
    Listener restarted.
    5. in iSQLPlus:
    SQL> CREATE DATABASE LINK excl USING 'excl';
    Database link created.
    6. in Enterprise Manager there is a Database Link:
         database links: EXCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    service name: excl
    7. testing the database link says:
    The Database Link is not active.
    ORA-28545: .Unable to retrieve text of NETWORK/NCR message 65535... ORA-02063: previous 2 lines from EXCL
    Please help me to get over this.

  • Help with heterogeneous services

    Hello.
    I have been asked to try to create a dblink from an oracle 9.2 database on a solaris machine to a mysql 5.1 database on a windows xp machine.
    I need to know what software I need to get and install on both machines and what settings on the oracle server are needed.
    I just hope that someone who has done this before can help me.
    Thanks in advance.

    Hi,
    If you are looking for a tutorial sort of thing for Heterogenous Services than this thread over Asktom is a good resource. Look inside it an example given by Tak Tang for connecting Oracle Database with MS Excel. Take it as a reference to do your work.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206
    And for the Heterogenous Services, look at the doc guide of it here,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    HTH
    Aman....

  • Problem with Oracle Heterogeneous Services

    Hi All,
    I am trying to access SQL Server database using Oracle Heterogeneous Services and I am getting the following error in my tarce file:
    Heterogeneous Agent Release
    10.2.0.3.0
    HS Agent received unexpected RPC disconnect
    Network error 1003: NCR-01003: NCRS: Read error.
    I have checed the tnsnames.ora / listener.ora and they are seems OK
    tnsping is also working fine on HS
    Thses are the steps that I followed :
    1. setup system DNS
    2. configure Oracle HS Initialization File under $ORACLE_HOME/hs/admin
    3. configure tnsnames.ora under $TNS_ADMIN
    4. configure listener.ora under $TNS_ADMIN
    5. craete db link
    6. querying db link gave the following error
    "No more data to read from socket"
    7. trace file under $ORACLE_HOME/hs/log shows the following error
    Heterogeneous Agent Release
    10.2.0.3.0
    HS Agent received unexpected RPC disconnect
    Network error 1003: NCR-01003: NCRS: Read error.
    Please advice
    Regards
    Omer

    Hi,
    Thanks for the reply.
    its not a new project. We have this running for quite a while now.
    i have set the trace level from ON to DEBUG and the log file has the following info :
    Oracle Corporation --- MONDAY JUL 27 2009 13:09:03.719
    Version 10.2.0.3.0
    hoagprd (2): ; hoagprd Entered.
    HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.6.3.0.0070
    HOACONN.C (295): ; Class version: 211
    hoagprd (2): ; hoagprd Exited with retcode = 0.
    hoaexit (6): ; hoaexit Entered.
    hoaexit (6): ; hoaexit Exited with retcode = 0.
    (0): ; Closing log file at MON JUL 27 13:09:11 2009.
    # HS init parameters
    HS_FDS_CONNECT_INFO = xxxxxx
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /usr/local/iodbc/lib/libiodbc.so
    HS_FDS_TRACE_FILE_NAME = xxxxxx.trc
    HS_FDS_TRACE_LEVEL=4
    # ODBC specific environment variables
    set ODBCINI=/usr/local/iodbc/odbc.ini
    Regards

  • Setup heterogeneous service to connect MySQL from Oracle

    Hello,
    I have got an issue with heterogeneous service configuration like
    SQL> select * from colour@mysql_local;
    select * from colour@mysql_local
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-02063: preceding line from MYSQL_LOCAL
    If anybody can advise me what is wrong in conf or might be I missed something
    Thanks
    Environment:
    OS: Windows 7 Pro
    Oracle 11.2.0.3
    MySQL: 5.6
    Configuration:
    System ODBC configured : MYSQL_LOCAL
    Tested connection - sucessful
    Listener
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = MYSQL_LOCAL)
    (ORACLE_HOME = C:\app\product\11.2.0\dbhome_1)
    (PROGRAM=dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app
    Tnsnames.ora
    MYSQL_LOCAL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = MYSQL_LOCAL)
    (HS = OK)
    initdg4odbc.ora
    HS_FDS_CONNECT_INFO = mysql_local
    HS_FDS_TRACE_LEVEL = OFF
    SQL> conn / as sysdba
    SQL> create public database link MYSQL_LOCAL connect to root identified by 12346 using 'MYSQL_LOCAL';
    C:\Windows\system32>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.3.0 - Production on 08-MAY-2013 17:44:24
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.3.0 - Production
    Start Date 08-MAY-2013 17:44:05
    Uptime 0 days 0 hr. 0 min. 18 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File C:\app\diag\tnslsnr\D-9RGC8X1\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "MYSQL_LOCAL" has 1 instance(s).
    Instance "MYSQL_LOCAL", status UNKNOWN, has 1 handler(s) for this service...
    Service "QA_IMS_MYSQL" has 1 instance(s).
    Instance "QA_IMS_MYSQL", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Windows\system32>tnsping mysql_local
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 08-MAY-2013 17:44:36
    Copyright (c) 1997, 2011, Oracle. All rights reserved.
    Used parameter files:
    C:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SID = MYSQL_LOCAL) (HS = OK)))
    OK (0 msec)
    SQL> conn / as sysdba
    Connected.
    SQL> select * from colour@mysql_local;
    select * from colour@mysql_local
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-02063: preceding line from MYSQL_LOCAL

    Hi,
    The gateway file initMYSQL_LOCAL.ora should be placed in the directory -
    $ORACLE_HOME\hs\admin
    which is the expected location. In your setup this should be -
    C:\app\product\11.2.0\dbhome_1\hs\admin
    If the file is already in that location then make sure that in the listener.ora and tnsnames.ora that in each section every line except the first line starts with at least one space -
    SID_LIST_LISTENER =
    <space>(SID_LIST =
    <space>(SID_DESC =
    LISTENER =
    <space>(DESCRIPTION_LIST =
    Tnsnames.ora
    MYSQL_LOCAL =
    <space>(DESCRIPTION =
    <space>(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    However, there is also a problem with the tnsnames.ora file. You have -
    Tnsnames.ora
    MYSQL_LOCAL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = MYSQL_LOCAL)
    (HS = OK)
    ) <=== move this bracket
    but it should be -
    Tnsnames.ora
    MYSQL_LOCAL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = MYSQL_LOCAL)
    ) <=== bracket moved here
    (HS = OK)
    Of course, with spaces as shown above. They are often lost in the forums.
    You may also need to change -
    (HOST = localhost)
    to -
    (HOST = <actual host name>)
    but it depends on your setup.
    Try these changes and let me know what happens.
    Regards,
    Mike

  • Generic Heterogeneous Services

    I&#8217;m trying to implement Heterogeneous Services using the generic
    ODBC driver supplied with Oracle 8.1.7. I am attempting to
    connect to a ForPro database running on a NT server from Solaris
    5.7 running Oracle 8.1.7. Up to this point I have not been able
    to properly configure the Listener so that it will run with the
    non-Oracle listener information in the Listener.ora file. I get
    an error (TNS-12545) &#8220;Connect failed because target host of
    object does not exist&#8221;
    Has anyone tried to connect to FoxPro on an NT server?
    Were you able to do this with the generic ODBC driver supplied
    by Oracle?
    Can you post a copy of the relevant sections of the Listener.ora
    and tnsnames.ora files?
    If using an after-market ODBC driver, which one did you use?
    Any help supplied will be greatly appreciated. I have very
    little time to determine if it is possible to make this
    connection and to get it working.

    I wouldn't think so these days ... however, you could try posting this in the heterogeneous services - which is somewhere on OTN.
    If it we me, I'd convert the DBF into something easier to use with Oracle : like XML or CSV

  • Heterogeneous Services & SQL Server

    I understand that connecting an Oracle database to a SQL Server database can be done using the Heterogeneous Services which will set up a Transparent Gateway to the SQL Server data. Where can I get the agent needed to connect the two though? Are there different agents for different Oracle/SQL Server version combinations?
    I have the paper 'Oracle8 Distributed Database Systems Release 8.0 A58247-01, Chapter 7: Administering Oracle Heterogeneous Services', and it is very helpful in getting the basics, but I need more info for my particular situation. Supposedly the agent has an Installationand User's Guide which would assist me also.

    Do you have any pending statements in dba 2pc pending?
    Your init parameters seems good. you need to check with the network guys for the packages sent from Oracle is received by sql server and vice versa. Hope there is no block on redirect ports.
    You can enable tracing and see if you get any valid points in this direction.
    As you said about trigger, look for the privileges in sql server does the user you are connecting has all the privilege on the associated tables. Also the conditions on the trigger has to be satisfied for the execution.
    Also you need to add some HS parameters for the recovery in case you may need.

  • Heterogeneous Services ODBC to MS SQLSvr - ORA-00904 error

    Hello, I have successfully setup a heterogeneous Services ODBC to MS SQLSvr using the steps outlined at http://www.orafusion.com/art_orahs.htm.
    My problem is, the only queries that run without errors are SELECT * FROM tablename@xxx. When I try SELECT colname FROM tablename@xxx I get an ORA-00904: "colname": invalid identifier. Any thoughts?
    Also, will I be able to update MS SQLSvr tables using this link?
    Thanks.

    Hello, Your suggestion worked. Even though all the column_names are lower case, if I surrounded the column names with double quotes the query would work.
    Another question. I'm wanting to update a SQLServer table with data from a Oracle table using a query like:
    INSERT INTO sql_table@xxx
    SELECT * FROM oracle_table ;
    Is this possible? I'm getting a "ORA-02025: all tables in the SQL statement must be at the remote database" error message which looks like I can't.
    Thanks.

  • Heterogeneous Services & Oracle Generic Connectivity For DBF file?

    Dear All,
    Can We Create dbf file directly means without using CSV file?
    Can we use Heterogeneous Services & Oracle Generic Connectivity for creating dbase DBF file or Writing in dbase DBF file?
    I have used it for Excel and Access for connectivity with Oracle 9i
    but I dont have any idea about dbase DBF file?
    Any help in this reagards will be highly appriciatalble.
    Thanks
    Rana

    HSODBC/DG4ODBC is generic connectivity and you find the generic setup in:
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003)
    There is nothing sepcial for DBF's. Just define a system ODBC DSN using a DBASE ODBC driver pointing to the DBF file.
    The rest is absolute similar to the note.
    If you have already a running HSODBC/DG4ODBC the quickest test is to just define a new system dsn for the DBF file, then change in the init>hsodbc/dg4odbc>.ora file the HS_FDS_CONNECT_INFO parameter pointing to the newly created system DSN. Last step is within the Oracle db to define a database link.

  • Heterogeneous Services & Oracle Generic Connectivity for dbase DBF file

    Dear All,
    Can we use Heterogeneous Services & Oracle Generic Connectivity for creating dbase DBF file or Writing in dbase DBF file?
    I have used it for Excel and Access for connectivity with Oracle 9i
    but I dont have any idea about dbase DBF file?
    Any help in this reagards will be highly appriciatalble.
    Thanks
    Rana

    I wouldn't think so these days ... however, you could try posting this in the heterogeneous services - which is somewhere on OTN.
    If it we me, I'd convert the DBF into something easier to use with Oracle : like XML or CSV

  • Running INSERT into SQL Server using Heterogeneous Services

    I am running into a show stopping issue trying to insert into a SQL Server table via Oracle.
    Basically, I have my Heterogeneous Services set up correctly and I am able to hit the SQL Server database with my INSERT statement. But what is happening is I seem to be manually controlly row locks. I believe HS is issuing the following to the server before my INSERT statement is run:
    SET TRANSACTION ISOLATION LEVEL READ COMMITTED
    SET IMPLICIT_TRANSACTIONS ON
    Also, it does not seem that I ever issue the COMMIT TRANSACTION
    command. This leaves the row locked forever... unable to complete the
    insert generating an error and not inserting my record.
    I would GREATLY appreciate any help you could provide, this is a critical issue.
    Thanks in advance,
    ivalum21

    ORA-02047: cannot join the distributed transaction in progress
    ORA-06512: at "MY_PACKAGE_NAME", line 263
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_Execute: DB_ODBC_ENGINE (1645): ;
    [Microsoft][ODBC SQL Server Driver][SQL Server]Disallowed implicit conversion
    from data type varchar to data type money, table 'tableA',
    column 'total_amount'. Use the CONVERT function to run this query. (SQL
    State: 37000; SQL Code: 260)
    ORA-02063: preceding 2 lines from SQLSERVER_LINK
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 875
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 791
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 1156
    ORA-06512: at line 1
    That is what I get when I take out the TO_NUMBER()
    Message was edited by:
    ivalum21

  • Oracle heterogeneous services in 10g r2

    The dba configured oracle heterogeneous services to connect to a SQL Server database.
    The purpose of doing this is to select from a view in SQL Server.
    We are able to select. But as soon as a where clause is introduced, the session just hangs.
    So we thought it might be because we are accessing a view.
    We then created a table in SQL Server and inserted all the data into the table. However, the select with a where clause does not work.
    We then created a table in Oracle and selected from the view in SQL Server to insert data into the oracle table . Once the data is in an Oracle table, we are able to select and use a where clause. We do not want to bring data into Oracle as the data architect is trying to avoid a duplication scenario.
    The DBA is not able to find what is wrong. Can someone please help. Have you seen a similar issue?
    The oracle version is 10.2.0.4 and sql server is 2000.
    Thanks,
    ksd
    Edited by: user8699561 on Mar 16, 2010 8:30 AM

    If the application is using sequences, it cannot require that values are not skipped. Oracle sequences will never be gap-free. And assuming that there are multiple users, the order of transactions and the order of sequence generated values cannot be guaranteed.
    I suppose that if your failover process was manual and scheduled and the downtime window was sufficient (i.e. you're failing over because you're taking one server down for scheduled maintenance, not because there was an unexpected fault), you could set up a script that would shut down the application, iterate over the sequences on the master getting the next value, alter the local sequences (presumably by altering the increment, selecting the next value from the local sequences, and returning the increment to 1), and then allow the application to start on the new server. If your downtime window is sufficient, when the primary has an unscheduled failure, you could potentially do a SELECT MAX(primary key) on each table on the local system (while the application is down), alter the sequences and then allow the application to start running. Neither is a particularly pretty option, and the latter option can be quite expensive if there is a lot of data.
    Justin

Maybe you are looking for

  • Features comparison of SharePoint Foundation 2010 & Office 365

    Hi, I there any documentation/chart or table comparison of features between Office 365 and SharePoint Foundation 2010? I can only search comparison between office 365 and SP Foundation 2013. Thanks!

  • DVD SP burned disc won't play on DVD player

    I recently compiled a FCP HD project into Standard Defintion 16:9 and imported it into DVD SP 4. I build, format and burned a DVD-R disc without any problems. However the disc won't play on any of the DVD players in my house (1 philips and 1 Pioneer)

  • Problems importing Hebrew text

    I cut and pasted Hebrew text into MS Word from a Hebrew Word Processing Program (Davka 6). I then imported the text from Word into ID CS4 Standered. In about every third word a vowel sign under a letter dissappeared and was replaced with a box in mid

  • DBA Studio does not find any Database 8.1.7

    Hello, I have a problem when startung DBA-Studio! I installed Windows 2000 and Oracle 8.1.7. In Enterprise Manager Console my node is recognised, Manger service and Oracle81Agent are running. When starting the DBA Studio in "Manager Server OMS" mode

  • I can't find the "Repeat" button in my Itunes.

    I can't find the "Repeat" button in my Itunes, when I'm listenning to a music. I have reinstaled my Itunes, it didn't help.