DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Can I Call the API functions of some tool running on HP-UNIX from ORACLE SP?

  1. #1
    Join Date
    Mar 2002
    Posts
    18

    Question

    How can I call the API functions of some tool running on HP9000-UNIX from ORACLE stored procedure which is also running on the HP9000-UNIX . ?

    I am developing a Powerbuilder(Ver7) application on windows2000/NT/98 platform.
    Powerbuilder can connect to the ORACLE database running on the HP9000-UNIX and it can also execute the ORACLE Stored Procedures.

    I want to call the API functions of a Data Conversion Tool called "DataJunction" which is running on the HP9000 UNIX.
    The backend is ORACLE database which is also running on HP 9000 UNIX.
    The file which contains the API function of Datajunction is also on the HP 9000 UNIX box.
    Is there any way to call these API functions from PL/SQL and Oracle Stored Procedure?

    Thanks.

    Ashish

  2. #2
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    You can call it through an external proc. Or write an java or Proc'C code that would call it and then invoke this java/pro*c
    in your plsql


    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


  3. #3
    Join Date
    Mar 2002
    Posts
    18

    Question

    Thank you very much for such a quick response!!!!
    I have one more question to you. When I was reading the
    help about "Calling External Procedures"
    in chapter 10 of "Oracle9i Application Developer's Guide - Fundamentals" I noticed that the following restrictions apply to external procedures:

    [1] This feature is available only on platforms that support
    DLLs. (Please see the heading "Restrictions on External C Procedures")


    My Question---
    [a]Does it mean that the call to external procedure will work only on Windows platform and not on UNIX platform?




  4. #4
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    dll on win this is same objects as *.so on unix.

  5. #5
    Join Date
    Mar 2002
    Posts
    18

    Cool

    Thank you very much !! You are wonderful!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width