473,396 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Get calling instance information in external procedure

Hi,

I have a question about how to retrieve the information of the calling
instance, such as instance name, in an external C procedure.

Thank you,

Carlo Chung
Jul 19 '05 #1
3 4314
ca********@hotmail.com (Carlo Chung) wrote in message news:<5e**************************@posting.google. com>...
Hi,

I have a question about how to retrieve the information of the calling
instance, such as instance name, in an external C procedure.

Thank you,

Carlo Chung


Why not just pass this information in?

-- Mark D Powell --
Jul 19 '05 #2
How? Thanks.

Carlo

Ma*********@eds.com (Mark D Powell) wrote in message news:<26**************************@posting.google. com>...
ca********@hotmail.com (Carlo Chung) wrote in message news:<5e**************************@posting.google. com>...
Hi,

I have a question about how to retrieve the information of the calling
instance, such as instance name, in an external C procedure.

Thank you,

Carlo Chung


Why not just pass this information in?

-- Mark D Powell --

Jul 19 '05 #3
ca********@hotmail.com (Carlo Chung) wrote in message news:<5e**************************@posting.google. com>...
How? Thanks.

Carlo

Ma*********@eds.com (Mark D Powell) wrote in message news:<26**************************@posting.google. com>...
ca********@hotmail.com (Carlo Chung) wrote in message news:<5e**************************@posting.google. com>...
Hi,

I have a question about how to retrieve the information of the calling
instance, such as instance name, in an external C procedure.

Thank you,

Carlo Chung


Why not just pass this information in?

-- Mark D Powell --


How? As part of the parameter list to the "external" procedure where
the external procedure in question is the official Oracle method for
linking external procedures to the database (version 8.1+). See the
DBA Administration and OraNet manuals.

HTH -- Mark D Powell --
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lisa Tang | last post by:
Hi, I am trying to call a C function from PL/SQL and I encounter "ORA-06525 Length Mismatch for CHAR or RAW data". Following is the information: C function in util.dll: INT Scramble(BYTE...
4
by: Sivakumar Shanmugam | last post by:
Group.. We are running on db2 UDF V8 on Sun solaris platform. I created an UDF which calles a C-routine(SQL_API_FN). This C-routine in turn calls an external C-function. The C-function is provided...
5
by: claus.hirth | last post by:
If I create the function HELLO in schema S01 as follows, @ CREATE FUNCTION S01.HELLO() RETURNS VARCHAR(32) EXTERNAL NAME 'UDFSRVXYZ!sayHelloWorld' LANGUAGE JAVA PARAMETER STYLE DB2GENERAL NO...
30
by: Tim Marshall | last post by:
Here's the scenario, A2003, Jet back end, illustrated with some cut down code at the end of the post: A proc dims a snapshot recordset (dim rst as Dao.recordset) and opens it. There are several...
0
by: Michael | last post by:
Trying to call an external DLL (compiled within Fortran) and keep on getting the following error in the main call to the external DLL ' Object reference not set to instance of object' The DLL...
4
by: Peter Piry | last post by:
hi, I've writte a DLL in VB.NET which is called from VB6. When I try to call some methods of the DLL in a sub Procedure I get the following error: "Object reference not set to an instance of...
1
by: amgupta8 | last post by:
Note: This problem occurred when I updated the JDK from 1.3.1 to 1.4.1 or 1.4.2. Nothing else was changed in the code, other than updating the JDK on the database server (dbm cfg parm jdk_path) and...
0
by: aravindalapat | last post by:
Hi All, I am facing an error when I try to invoke a remote nested stored proc. Please find the details below. 1) SP TEST1 is defined in DB2 instance DB2A. It is calling a stored procedure ...
3
by: Carlo Chung | last post by:
Hi, I have a question about how to retrieve the information of the calling instance, such as instance name, in an external C procedure. Thank you, Carlo Chung
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.