Generic Heterogeneous Services

I’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) “Connect failed because target host of
object does not exist”
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

Similar Messages

  • 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

  • Heterogeneous Services through ODBC

    There has been some different remarks about if Heterogeneous Services through ODBC will be available in XE. So now when we are getting close to the production release of XE I want to know what the final answer is on this feature

    For the sake of future readers: This works! I just paraphrased this approach to successfully create a dblink to my Sql Server 2000 EE running on MS W2K Svr. It took some time to sort out the details, and then to discover that the test in Tak Tang's excellent writeup did not work for me. I could not do: select table_name from all_tables@mydblink; without getting:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]
    ORA-02063: preceding 2 lines from DBLINK_IMS
    However, when I finally woke up and tried: SELECT * FROM <MySmallTable>; I realized that it was actually working.
    I hope this hint is helpful to future readers. Many thanks to TTang for his excellent writeup. Thanks also to Oracle for an excellent product.

  • 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

  • Using Oracle Heterogenous services to access sql server database table

    I have created a dblink 'POC_HS' from oracle to sql (implemented heterogeneous services) and I am able to successfully pull out data from the default database that the DSN(for sql server) is connected to.
    So this 'select * from Test@POC_HS' is working perfectly fine on the Oracle database as 'Test' table resides in the default database (which the System DSN is connected to).
    But when I do 'select * Abc.Test@POC_HS' where Test table resides in 'ABC' database which is not the default database throws an error as follows:
    ORA-00942: table or view does not exist [Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'Abc.Test'.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: S0002; SQL Code: 208)
    I have also tried this 'select * from Abc.dbo.Test@POC_HS' but oracle throws this exception "ORA-00933: SQL command not properly ended".
    The dblink user and System DSN account has access to the 'Abc' database.
    Thoughts?

    Thanks for the info.
    But suppose if we have DB link 'POC_HS' where POC_HS is a DBlink between oracle servers, I can do the following -
    1. select * Abc.Test@POC_HS
    2. select * Def.Test@POC_HS
    where Abc,Def are the schemas which the Dblink user has access to. I can execute the above perfectly fine.
    I wanted the achieve the same functionality from Oracle to Sql where database keep on changing dynamically . So according to you that's not possible right?
    We will have to keep on changing the ODBC connection to a different database or create a new odbc/listener/tnsentry each time query uses a different database right?
    Edited by: 878753 on Aug 11, 2011 1:29 AM

  • 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

  • .Using Oracle Heterogeneous Services Connectivity to SQL Server :ORA-02068

    Hi,
    I using oracle HS to connect sql server but error ora-02068: following server from HSSQL and ORA-03135 connection lost contact.
    step by step
    1. Create the init.ora file = initHSSQL.ora
    HS_FDS_CONNECT_INFO = HSSQL
    HS_FDS_TRACE_LEVEL = OFF
    2. modified listener.ora file
    SID_LIST_LISTENERHSSQL =
    (SID_LIST =
    (SID_DESC=
    (SID_NAME=HSSQL)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM=hsodbc)
    LISTENERHSSQL =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = CEPITA1403.siam.local)(PORT = 1521))
    and start listernerHSSQL = pass
    3.modified tnsname.ora :
    HSSQL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CEPITA1403.siam.local)(PORT = 1521))
    (CONNECT_DATA =
    (SID = HSSQL)
    (HS = OK)
    and test by tnsping HSSQL = OK
    4.setup ODBC SQL Server
    Start --> Control Panel --> Administrative Tools --> Data Sources (ODBC)
    Click on the ‘System DSN’ tab.
    Click ‘Add’.
    Name HSSQL
    Click ‘Test Data Source…’.--> Pass
    5
    create public database link HSSQL
    connect to sa
    identified by xxxxxxxx
    using 'HSSQL';
    Database Link created.
    6. select * from ACCOUNT_CODE@HSSQL;
    show error message : ora-02068: following server from HSSQL and ORA-03135 connection lost contact.
    Please let me know.
    rose
    Edited by: user7218901 on Mar 25, 2009 12:39 AM

    Do you have all of your parameter files set up correctly?
    You need to have a hsora file in the hs/admin directory for ioi for instance, initioiDB.ora. In this file you need to set up your hs init parameters. This is an example of what's in one of mine:
    HS_FDS_CONNECT_INFO = Mapics
    HS_DB_NAME = MAPICS
    HS_DB_DOMAIN = WORLD
    HS_FDS_TRACE_LEVEL = ON
    The you need to have an entry in the tnsnames.ora file in the network/admin directory for hsodbcxtrad. The sid should be set to ioiDB.
    You can find documentation on how to manage heterogenous services in the online documentation.
    Managing Heterogenous Services Using Generic Connectivity
    Hope this helps
    Eric
    I have been trying to set up a database link between Oracle and SQL Server, currently both on the same Windows NT machine.
    I managed to create the link as follows:
    CREATE PUBLIC DATABASE LINK ioi
    CONNECT TO IOItest IDENTIFIED BY mba
    USING 'hsodbcxtrad';
    The link is created successfully.
    I then try to run a query and get the following error :
    select * from dealer@ioi
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: [Microsoft][ODBC SQL Server
    Driver][SQL Server]Login failed for user '\'. (SQL State: 28000; SQL Code:
    18456)
    ORA-02063: preceding 2 lines from IOI
    I have added a UID and PWD to the registry settings for the SQL Server DSN but this makes no difference. Do I need to specify a username and password somewhere else ?
    Thanks
    Hugh

  • About Oracle Heterogeneous Services and Oracle Gateway

    Hi All,
    I am very new at this topic, I want to know:
    1)Oracle Heterogeneous Services and Oracle Gateway same or not?Need license or not?
    2)If want Creating Database Link from Oracle 11g to Sybase AS 15.5 Using Oracle Heterogeneous Services what drivers should I install from my pc(windows 7) and from my server(Linux red hat 5)?please give me link for this
    3)Is there any link Step by step to configure odbc until creating dblink?
    4)what more convenient, connect sybase from Oracle Heterogeneous Services or Oracle Gateway?
    Thank you so much for your help
    Regards
    JOE

    Joe,
    let copy/paste your questions and comment inline:
    1)Oracle Heterogeneous Services and Oracle Gateway same or not?Need license or not?
    Let me first clarify one thing, heterogeneous services is the generic mechanism in the Oracle database used by all gateways. The product you are talking about is the Database Gateway for ODBC or the Database Gateway for Sybase.
    The Database Gateway for ODBC is available for Linux and Windows. It is the free product which does not require an Oracle license. The license is included in your database license. It is a generic gateway which allows you to connect with any suitable 3rd party ODBC driver to a matching foreign database. As it is a generic connectivity which aloows you to connect to real databases but also to MS Excel or even Text files as long as you have a suitable ODBC driver, its capability is very limited.
    The more powerful gateway is the Database Gateway for Sybase. It covers the same functionality as DG4ODBC but it allows you also to work with distributed transactions, it allows you to call remote Sybase stored procedures etc. This gateway is design for Sybase ASE connections, so it is also able to map certain Oracle functions to Sybase equivalents. This Database Gateway for Sybase is NOT for free, it requires an additional license.
    2)If want Creating Database Link from Oracle 11g to Sybase AS 15.5 Using Oracle Heterogeneous Services what drivers should I install from my pc(windows 7) and from my server(Linux red hat 5)?please give me link for this
    That depends on your preferences. Both gateways are available for Linux and for Windows. When using DG4ODBC you only need to pay attention that you get a suitable 3rd party ODBC driver for this platform with the matching word size (64bit for 64bit DG4ODBC and 32bit ODBC driver for installations of DG4ODBC on 32bit platforms).
    The latest software release is currently 11.2.0.3 and it can be downloaded (and installed from scratch) from "My Oracle Support". Just open the Patches & Updates section, look for Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER and make sure to choose the platform you want to use. Then check out the readme as it lists which of these download CD's contains the gateway software.
    BTW, the CD contains DG4ODBC and DG4SYBS and it is up to you to decide during the installation which product you want to use.
    3)Is there any link Step by step to configure odbc until creating dblink?
    The ODBC driver installation differs from vendor to vendor and platform to platform - so we don't have a specific note how to configure the ODBC driver. This kind of question is better handled by the ODBC driver vendor.
    Regarding the set up of DG4ODBC on Windows you find suitable information in the knowledge base on My Oracle Support. Just look for:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install          [Document 466225.1]     
    and for DG4SYBS:
    How to Configure DG4SYBS (Oracle Database Gateway for Sybase) on 64bit Unix (Linux, AIX, HP-UX Itanium and Solaris) Post Install          [Document 437696.1]     
    How to Setup DG4SYBS (Database Gateway for Sybase) on a 64bit Windows          [Document 1319852.1]     
    4)what more convenient, connect sybase from Oracle Heterogeneous Services or Oracle Gateway?
    It really depends on your needs. DG4SYBS is surly easier to install as this gateway comes with everything you need and you do not have to find a suitable ODBC driver nor get the ODBC driver working. It is also more powerful as you can for example use triggers that replicate data changes in an Oracle database to the Sybase database within the same transaction. When you want to call Sybase stored procedures you can also do that with DG4SYBS. So it really depends on your needs.
    - Klaus

  • Configuring Oracle Net Services for Oracle Heterogeneous Services

    In the Oracle 9i Net Services Administrators Guide, it states that 3 parameters need to be included in the listener.ora in order to enable Heterogenous services. Can someone clarify what the Program Name should be set to? I'm not quite sure what is meant by agent executable. I'm trying to create a database link to and MS Access mdb DSn if that makes a difference.
    Cheers

    Richard,
    The program is hsodbc. The listener entry should be something like this:
    (sid_desc =
    (sid_name = gc4excel)
    (Oracle_home= c:\oracle\ora92)
    (program = hsodbc)
    The tnsnames entry should be
    GC4excel =
    (description =
    (address = (protocol = tcp) (host = localhost) (port = 1521))
    (connect_data = ( sid = gc4excel))
    (hs=ok)
    For more information on setting up Generic Connectivity please refer to the Heterogeneous Connectivity Administrator's Guide.
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96544/gencon.htm#1656

  • 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

  • Show originally filename in attachment list (generic object services)

    Hello everybody,
    does anybody know, if it is possible to show the originally filename of a document in the attachment list of generic object services?
    If I add more than one document for the same document type in generic object services, I'm not able to distinguish the documents.
    When I want to save an attachment to local PC, SAP offers me the originally filename as default. Therefore, the filename has to be saved somewhere...
    Thanks for any help or ideas in advance,
    Peter

    Richard,
    Your using the wrong object, I don't have access to an SAP system right now, so I can't tell you what the correct object is, but when it's configured correctly in OAC3 it will not be grey out.  Best thing to do it see what the object the program is publishing.  This is what GOS is looking for.  IFARCH21 is not the answer, unless your using workflow

  • How to create a Generic Object Services for a standard tcode.

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit train we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that follows the approval process in order to depreciate the asset. how to show this workflow details using Generic Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Instead of copyg the std fm to z, do the following,
    1. Go to se37 open FM VIEW_KURGV in display mode.
    2. Click on the spiral icon on the top.
    3. Then in menu go edit->enhancment options -> show implicit enhancement
    4. """""""""""""""""""""" kind of lines will appear in the cde, just rt click on the line at the place u want to insert the code and select
         enhancement implementation create.
    5. Give apropriate name for thi , it will inset a n place to write your code.
    This is an std sap methodology and is supported in upgradde also.

  • Add BUS2009 to generic object services

    Hi Experts,
    We have header level release strategy to PR approval. We are using BUS2105 delegated to ZBUS2105.
    There is another custom workflow has been defined, using BUS2009 delegated to ZBUS2009.
    in ME53n, Generic object services I can only see ZBUS2105 Workflows.
    Is there any method I can add show both the workflows there.
    Your help is much appreciated.
    Thanks,
    Gaurav

    Ya Arghdip, please elaborate how to instantiate the object inside the workflow design using GenericInstantiate Method of SYSTEM Business Object.
    in my case I am getting required entries in table but even thn I am not able to see workflow overview from Generic Object Services.
    Please help.
    Regards
    Nitin

  • Create Attachments to Generic Object Services from Webdynpro appliccation

    Hi,
    I have requirement to Create Attachments  to Generic Object Services(GOS) in equipment master (IE03)  from webdynpro when a user clicks on upload button and also allow the user to delete the attachments .
    Can anyone advice me of any Function Modules or logic to use from Web GUI.
    I used below logic from R/3 to create attachments, but from webdynpro this method doesn't work.
    DATA lo_attachment TYPE REF TO cl_gos_document_service.
      CREATE OBJECT lo_attachment.
      CALL METHOD   lo_attachment->create_attachment
           EXPORTING  is_object = ls_object
           IMPORTING  ep_attachment = lp_attachment
    Your inputs are appreciated.
    Thanks
    Rajesh Yalda

    Hi,
    try using the Class CL_GOS_SRV_ATTACHMENT_CREATE with Method EXECUTE_ITS.
    best regards,
    Michael

Maybe you are looking for