Oracle HSODBC (Help Document)

Hi All,
I've used HSODBC on Windows platform with MS Access. I prepared a document for my reference may be it is bit helpful to you also.
Any suggestion and comment is highly appreciated.
Oracle's Heterogeneous Services (HS)
Heterogeneous Services (HS) is an integrated component within the Oracle database server and provides the generic technology for accessing non-Oracle systems from the Oracle database server. Heterogeneous Services enables you to use Oracle SQL statements to transparently access data stored in non-Oracle systems as if the data resided within an Oracle database server. To access a non-Oracle system, you need to use a Heterogeneous Services agent. If you connect to the non-Oracle system using generic connectivity through the ODBC or OLE DB interfaces, the agent is an executable that it automatically installed with the Oracle database server.
Although HS service can be configured to work with variety databases like MS Access, MS Excel, SQL Server etc. This article shows how Oracle's Heterogeneous Services can be configured to connect to a Microsoft Access database using standard databases link. The method described can be used to connect to MS-Access from about any platform - Unix/Linux or Windows.
The Generic Connectivity utility needs data dictionary tables in the Oracle Database. To check their existence, run a query on
i.e. SYS.HS_FDS_CLASS.
If it fails, run the caths.sql script located in
<ORACLE_HOME>\network\admin\caths.sql
as user sys or internal.
In this article the platform used is windows.
     ORACLE_HOME = <ORACLE_HOME>
     MS Access file is      C:\MDB_HSODBC.mdb
Necessary Components:
·     Oracle Database (with HS component installed).–Check for the <ORACLE_HOME>HS directory if it is not there you need to install HS service in oracle.
·     Oracle Network and Database Listener.
·     ODBC driver for your data source (EXCEL, ACCESS, etc)
Following components need to be configured:
·     ODBC driver for the data source.
·     Database Listener (listener.ora).
·     Network Client (tnsnames.ora).
·     Heterogeneous Services (init_odbc_data_source.ora) (sqlnet.ora).
·     Database Link.
For this example I will be querying an MS Access (MDB_HSODBC.mdb) from SQL*Plus. Following is the step by step procedure to configure these components.
1. ODBC Data Source configuration:
Start -> Settings
Control Panel
Administrative Tools
Data Sources (ODBC)
Select System DSN Tab
Click on Add button
Select appropriate driver in my case it is MS Access to work with so I selected the highlighted driver.
1.     Enter appropriate Data Source Name (DSN_ACCESS in my example).
2.     Enter description if you want it to be (optional).
3.     Click on select button and Browse you mdb file.
2. Database Listener configuration:
Here is a sample LISTENER.ORA entry that can be used. Change the HOST, PORT and ORACLE_HOME entries to match your setup. You may also use a different SID_NAME if required.
<ORACLE_HOME>\network\admin\listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = access_25)(PORT = 1524))
Port     à Your port number must match with the port number of TNS in next step.     
access_25 à Is the name of machine where oracle is installed. You can use IP address.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = hsodbc)          ß hsodbc program needs to be called.     
(SID_NAME = SID_HSODBC)     ß Your SID Name. (must be a valid name)
(ORACLE_HOME = <ORACLE_HOME>)
You can add your entries in existing DESCRIPTION_LIST & SID_LIST after adding you entries you file would look something like this.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC3))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = access_25)(PORT = 1524))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = <ORACLE_HOME>)
(PROGRAM = extproc)
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = SID_HSODBC)
(ORACLE_HOME = <ORACLE_HOME>)
Note:- when listener configuration is over you need to restart your listener in order to accept changes you have made.
3. Network Client (TNS) configuration:
Let us move on the next step i.e. configuration of tnsnames.ora file.
<ORACLE_HOME>\network\admin\tnsnames.ora
TNS_HSODBC=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =access_25)(PORT = 1524))
(CONNECT_DATA =
(SERVICE_NAME = SID_HSODBC)
(HS=OK)
1.     You can use any valid name for you TNS in my case it is TNS_HSODBC
2.     Your port number must match with the port number of listener of previous step.
3.     Your SID is the SID_NAME that you have entered in listener’s file.
4.     You must add (HS=OK) in this entry it tells oracle to use Heterogeneous Service.
4. Heterogeneous Services configuration:
<ORACLE_HOME>\hs\admin\init******.ora
****** à Is SID_NAME you have given in step 2.
If your SID_NAME is ABC the file should be initabc.ora this name must match with your SID_NAME. This file doesn’t get created automatically but you need to create this. There is a file named inithsodbc.ora copy and paste this file and simply change the name accordingly. If your SID_NAME is hsodbc then no need to create a file you can modify existing file.
In my example it is initSID_HSODBC.ora
HS_FDS_CONNECT_INFO = DSN_ACCESS     à DSN Name of Step 1.
HS_FDS_TRACE_LEVEL = off
HS_NLS_DATE_LANGUAGE ='DD-MM-YYYY'
HS_NLS_DATE_FORMAT ='DD-MM-YYYY'
One more file needs to modified i.e. sqlnet.ora here are the steps.
<ORACLE_HOME>\network\admin\sqlnet.ora
If there are parameters like
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
You must comment it out or modify to
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
We have completed HS configuration let us move on to the next step to use it and get it worked.
5. Database Link creation:
CREATE PUBLIC DATABASE LINK LNK_HSODBC
CONNECT TO DB_ACCESS
IDENTIFIED BY DB_PASSWORD
USING ‘TNS_HSODBC’ ;     
DB_ACCESS           à User Name “Can be anything doesn’t matter”.
DB_PASSWORD     à If you have password in MS Access database then it                     must match that password otherwise it can be                          anything but you need to mention it.     
SELECT
FROM
STU_DTL@LNK_HSODBC ;
STU_DTL      à     Table Name in MS Access database.
If you want to make your query more simpler you can create synonym for your database link.
     CREATE PUBLIC SYNONYM SYNO_HSODBC     à Synonym Name.
          FOR STU_DTL@LNK_HSODBC ;
Now you can query data source using synonym. This is just a shortcut.
SELECT
FROM
SYNO_HSODBC ;
Thanks & Regards
Manoj
Message was edited by:
Manoj91

as stated above.
You have to move the listener service from the LOCAL SYSTEM account into a user account which has access to the remote computer share.
Then yu have to change the DSN and replace the MDB file location to use UNC naming like \\machine\share\file.mdb
Backgroung:
LOCAL SYSTEM user can't access any shares due to security reasons. Thus you have to specify a dediacted user account which has sufficient permissions to access the remote computer.
UNC naming must be used as drive letter shares are only available as soon as the user logged on. Commonly nobody is logged on at the Oracle database server and thus the driver letter share is not availbale. Thus using UNC naming is required.

Similar Messages

  • Steps to create help document

    Hi All,
    I have developed set of new pages in OAF. For my pages i need to give the help documentation. I have seen the seeded pages and developer guide also.
    There i found that we have to set "Help Target" for our pages to set our help document. I have created one sample help file /oracle/apps/chainpro/webui/HelpIndex.html. But i am not able specify this path
    with format "<appShortName>_<packageFunctionalComponent>_<pageName> " given in OAF Dev Guide.
    Have I missed any missed steps....
    Please help me in linking Help documents in OAF
    Thanks in advance...

    Hi..
         I have uploaded my help file by using FNDGFU. I used the command like
         FNDGFU apps/apps@vis 0 Y PROGRAM_NAME=FND_HELP PROGRAM_TAG=DEMO:100 CONTENT_TYPE=text/html LANGUAGE=US /oracle/D1/VI/apps/apps_st/comn/java/classes/oracle/apps/demo/help.htm. .
    Then i opened HelpBuilder from SystemAdministration responsiblity.
    There I tried to add my help information,but I am not aware of some fileds in that form like data,
         node key and parent key. i couldn't find any tables where my help file is actually stored.      I have seen some seeded page help information like
         Data - @p_sup_factor
         Node Key - T366734_APUG_CONTENTS
         Parent Key - I_PX2DSUPPLIERS_APUG_CONTENTS
         where i can see this type of information for my uploaded help file?
         Please give me some suggestions...
         Thanks in advance..

  • Installing jdeveloper online help documents(html) locally ?

    I would like to view the jdeveloper help documents outside jdeveloper
    how can I install the Jdeveloper online help(http://otn.oracle.com:8877/jdeveloper/help/), locally on my computer?
    cheers
    Russel

    Hi Russel,
    The jar files zip that you have downloaded is specifically for use with Oracle Help for Java (OHJ) - running in JDeveloper.
    Unfortunately we are not able to provide the equivalent of the HTML on-line version available on OTN for your local machine.
    You could try to use the zip file locally but it would not provide a table of contents and many of the links would not work.
    Do you hava a specific requirement for a local HTML version of the help? I can pass this on to the Documentation team as an enhancement request.
    In the meantime, your choices are to use OHJ within JDeveloper or to download the PDF version.
    Rgds
    Susan

  • How to create and assign a help document to INFO button on ALV grid

    Hi All,
    Can somebody tell me how to create an 'END USER DOCUMENTATION' document and the 'FUNCTION MODULE' to call it and display in the form of F1 help screen.
    OR
    Is there any standard method to call & display a help document, when the user clicks the INFO(i) button on the ALV grid standard toolbar?
    Thanks in advance.
    Rkumar

    Hello Rkumar
    If you have defined a documentation for your ALV report which you want to display when the INFO button is pushed you can use the following coding:
    CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP'           
        EXPORTING                                  
             DOKCLASS           = 'RE'                                          " = report
             DOKNAME            = '<name of your ALV report>'
             SHORT_TEXT         = 'X'              
        EXCEPTIONS                                 
             OTHERS             = 1.     
    Regards
      Uwe

  • After Effects 8.0.2 is live, as is a new version of the Help document.

    The After Effects 8.0.2 update is live, and so is the new After Effects CS3 Help on the Web. To get the update, choose Help > Updates. To see all of what has changed, see the ReadMe document:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403043
    Here's a link to After Effects Help on the Web, in case you forgot:
    http://livedocs.adobe.com/en_US/AfterEffects/8.0/
    And here's a link to the page from which you can download a PDF copy of the Help document:
    http://www.adobe.com/support/documentation/en/aftereffects/
    Beyond the additions to Help for P2 functionality, we made several hundred changes to the document for this version, most of which fall into two categories:
    - We fixed a lot of little errors and clarified explanations based on feedback in LiveDocs comments and feedback from the LiveDocs survey.
    - We added a lot of links from Help to external resources.
    One of the things that we heard from last quarter's survey was that After Effects documentation is incomplete (but accurate, yay!). One very fast way to fill some gaps is to point users to the example projects, tutorials, and other materials that people like you create and publish. Some of you have been adding LiveDocs comments to Help on the Web that point to these great materials. We've incorporated many of those links---plus a great many more---in the parts of Help where we thought that these external materials could help the user. We intend to do much more of this if you tell us that you find it valuable.
    Also, there are a lot of extensions to After Effects (some free, some not) that make After Effects work better. We also point to some of those. How did we pick which ones to point to? In part, we went by what we were being told in LiveDocs comments and on forums. If you don't see a mention of a plug-in, script, or other tool that you think is great, tell us through the LiveDocs comments in Help on the Web.
    So, thank you to all of the people and organizations whose instructional material and software we now point to from After Effects Help or whose LiveDocs comments have led to substantial improvements:
    Lutz Albrecht
    Jeff Almasol
    Lloyd Alvarez
    Dale Bradshaw
    Colin Brailey
    Guy Chen
    Mark Christiansen
    Alexendre Czetwertynski
    John Dickinson
    Dan Ebberts
    Marcus Geduld
    Rick Gerard
    Harry Frank
    Richard Harrington
    David Helmly
    Jonas Hummelstrand
    Tim Kurkoski
    Stu Maschwitz
    Chris Meyer
    Trish Meyer
    Alejandro Pérez
    Aharon Rabinowitz
    Adolfo Rozenfeld
    Scott Squires
    Angie Taylor
    Paul Tuersley
    Donat van Bellinghen
    David Van Brink
    David Wigfross
    Michele Yamazaki
    Rich Young
    Automatic Duck
    Digital Anarchy
    GridIron
    Zaxwerks
    RE:Vision Effects
    ObviousFX
    Trapcode
    Red Giant
    Toolfarm
    Creative COW
    AE Enhancers
    Neat Video
    fnord software
    Apple

    Can anybody confirm that this update works with the trial version as well?
    I am using the CS3 trial right now, i was able to download and install the 8.02-patch but AE behaves exactly the same as before, p2-footage(mxf/xml-files) is not recognized as a valid format!
    Can anybody help me on this?
    Id really like to test this until my trial expires in 5 days...this workflow with native p2 and AAF import is really important to my workflow..whis will make my decission over upgrading to CS3 or not..so please help!
    hvxgermanboy
    p.s.if somebody of the Adobe-team is listening: will there be a new AE CS3-trial that comes directly with the 8.02 version?

  • Can't open .help document with OS X Help Viewer

    My Canon scanner's on-screen documentation is only available as a .help file. Howerver, by default this file is opened with "DVD Studio Pro" on my Mac. Very strange. No other app is available under the .help file's "Get Info". I cannot pick OS X's Help Viewer. Since it's no app any more, it can't be selected or even found for that matter.
    *So how do I get Help Viewer to open up this .help document?* Control-clicking also doesn't give me that option.

    Thanks. Now that I know where to find it, I could change it in "get info". Problem solved.

  • Oracle Report Help

    Hello,
    I am new to Oracle and sql. I am working on the Oracle
    Reports. Can anyone suggest me where will be the best place to
    get help on this. Any suggestions will be appriciated.
    Thanks
    Sam

    Hi Sam..
    I'm also quite new in field of Oracle Reports, I have already
    had experience in Oracle Database Server. I think you may refer
    to the Oracle Reports help coming with your s/w, that's good for
    first understanding. Then.. I just find out that this forum is
    also helpful with many nice and "willing to help" people.
    Well... wish you all the best and go ahead with your new job!!
    kr,
    daniel

  • French html help document generation.

    After installing all the objects to create Headstart french help document, unable to generate the file from the Headstart Utilities. The following error is displayed:
    "Server error occured. Contact your Utilities Administrator. Use err.sql (located in ...) to reproduce the error."
    Has anyone encountered this error before.
    Thank you.
    Daniel Juneau

    Did you specify the correct encoding?

  • Creating a help document

    I want to create a PDF document that is like a help document that you would open in Preview. What I have in mind is the Final Cut Pro user manual, which has the drawer on the right side with the huge entire outline that is collapsed and makes it really easy to navigate. Is there a way to create a document like that in Pages or some other program?
    Dual 2.7 GHz G5   Mac OS X (10.4.7)  

    Hello Patrick
    Pages doesn't seem to convert tables of contents to the indexes that you like when exporting to pdf's. If you do get info on the Final Cut Pro user manual it will probably tell you what program was used to create it which may be of help.

  • Help Document

    Hi
    I am developing an application which is based on pharma manifacturings, while running the application the user should always need a help document for them. so i need to added my help document to sap help . can it be possible.
    Thanks Regarding

    The Help that you get when you press 'F1' in B1 Screen is called "Microsoft Compiled HTML Help" (.chm) file.
    You can also create one for your application.
    Open google and search for, "How to create CHM File", you'll get lot of referneces which will help you to create your own CHM file.
    [http://www.google.co.in/search?hl=en&q=HowtocreateaCHM+file&meta=]

  • Help document location

    Does anyone know where I can get the help document for the Microsoft Version of BPC 7.0?  I"m looking for the MS version of this,
    http://help.sap.com/saphelp_bpc70/helpdata/en/a1/532226947C49A5B2E2BD32450CB2D1/frameset.htm
    Thanks

    Hi,
    You need to go to the below link:
    https://websmp210.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000085368&_SCENARIO=01100035870000000202&
    You need to login with S- user ID.
    You will be able to see the Admin guide, Office guide, and Web guide.
    Hope this helps.

  • Help Document in XSSMenu

    Hi everyone,
        I am trying to assign a help document to individual ESS Area, eg pcd:portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.roles/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.area_employee_search/com.sap.pct.ess.area_employee_search. The problem is I couldn't find property 'URL to Help Topic'. Yet, there is property 'Show 'Help' Option'. So, I proceed to assign 'URL to help topic' to iView directly, ie portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.iviews/com.sap.pct.ess.area_employee_search. This, though, doesn't help. Anyone has any ideas ?
        Thanks and regards

    Here is my sample in
    CodePlex.  I used
    Git Gui to upload my Small Basic program.
    It is very easy to create documents with Wiki markup in CodePlex.   Following guide shows the sample. 
    WIKI MARKUP GUIDE
    *bold*
    _italics_
    +underline+
    ! Heading 1
    !! Heading 2
    * Bullet List
    ** Bullet List 2
    # Number List
    ## Number List 2
    [another wiki page]
    [url:http://www.example.com]
    [file:example.txt]
    [image:example.gif]
    {"Do not apply formatting"}
    Nonki Takahashi

  • Help document for Implementation Guide

    I can't find the help document for SAP Implementation Guide (IMG) in ECC5.0
    But I can find this document in R/3 4.6C.
    So,where can I find this document in ECC5.0 or ECC6.0,I want  to learn the configration guide.
    Else,can anybody find the IDES document in ECC5.0?

    Hi,
    Kindly check the following links:
    http://help.sap.com/content/bestpractices/baseline/bestp_baseline_baseline_V500.htm
    http://help.sap.com/content/bestpractices/baseline/bestp_baseline_baseline_V600.htm
    http://help.sap.com/bp_bblibrary/500/BBlibrary_start.htm
    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    you can find the documents for SAP Implementation Guide (IMG) in the above links.
    hope this helps!
    best regards,
    Thangesh

  • Oracle support help

    Hi,
    I have just got the login details of Oracle Support.
    I have some Q's regarding client site and want to post on metalink to seek Oracle experts help
    How I can do that?
    Thanks

    Hi 787186 ;
    Yes, I read to use the button, but just couldn't found the create SR button
    I'm service requests tab
    can't find the buttonIf you have open SR permission(your admin can give that right to you) than Service Request tab next to Knowledge tab on metalink main page.
    Please contact wiht your Metalink admin and ask for you have permisson for can create SR or not?
    Regard
    Helios

  • Oracle 10g help file

    Hi,
    Can anyone send me oracle 10g help file. which file has information about the exceptions.
    Uttam SIngh

    Pavan Kumar wrote:
    Hi,
    Are you referring to PL/SQL Exceptions or Error Messages.
    With respect to PL/SQL Exceptions -
    Refer to : http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/errors.htm
    and
    http://download.oracle.com/docs/cd/B10500_01/appdev.920/a96590/adg10pck.htm
    - Pavan Kumar NPavan
    One book is of 11g, another of 9i, neither is of 10g whicj is of OP's version.2ndly, even PL exceptions are listed in the error book given already Orionnet.
    Aman....

Maybe you are looking for

  • AIColor, swatch palette and AIArtHandles.

    For a given artwork, is there a way to retrieve all AIArtHandles, using a given AIColor (Fill, Stroke and Style) from the swatch palette? I would like to do this without parsing the entire artwork tree, and checking style, fill and stroke of all AIAr

  • HT1386 MY IPOD JUST SAYS ERROR CODE 2001

    MY IPOD JUST COMES UP WITH ERROR CODE 2001 WHEN CONNECTED TO ITUNES,ANY SUGGESTIONS PLS.

  • Classic Scenario in SRM 7.0

    Hi, I have a doubt. Please correct me if I am wrong: -  As per my knowledge, confirmation and invoice can be created either in SRM or ECC in SRM 5.0. However in the SRM 7.0    confirmation and invoice can not be created in SRM 7.0. It has to be creat

  • Serializing Vectors that are in other classes

    If I have... public MyPanel extends Jpanel implements serializable private vector d; public MyPanel() d=new Vector(); public void paint comp(gra g)//etc Part f=(part)d.get(i);//etc d.draw(g) and i OutputStream.write(MyPanel); and InputStream.read(MYp

  • Slow performance with yellow highlight tool

    Hello everyone, My problem is that Acrobat gets extremely slow when using the highlight tool I have made a pdf fromthe web of 350 pages and is about 6.5 MB big Now I have already higlighted major parts of the text for about 100 pages and now Acrobat