How can a procedure know at runtime what pack/proc or func is called from?

Hi, I have a small procedure - "ProcA" that is called by many procedures from several packages.
I like to find out inside ProcA, what procedure is calling ProcA and store the calling procedure name and the current calling parameters in a table.
I don't want to turn on auditing and I don't want to add another parameter to the ProcA that has hard coded the calling procedure as it means I will touch a lot of procedures and that takes time and increases the chance of affecting negatively the current working code.
I couldn't find anything in v$ views that will give me the calling procedure name.
I'm looking for an elegant solution that will provide me that information at runtime.
Does anyone have an idea how I may be able to achieve this?
Thank you

Hi
Have a look here
[http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkytewhocalledme.html]
Cheers
Ben

Similar Messages

  • How can I create a Forms9i Runtime for client distribution

    Currently we have an application developed in Forms 5.0.6.8.0 our Database has been upgraded to 9i DB. The application is working fine with this combination but we want to upgrade Forms in order to get Oracle Support. We just get the Developer Suite 9i package and we're trying to test our application with this software.
    How can I create the client runtime for Forms 9i?
    My application will work with Win 95 and 98?
    Thanks.

    Oracle9i Forms is web-only. Forms 6i is the last release of Forms to have client/server and character mode.
    You can test Forms from the Builder by installing iDS. To deploy Forms using iAS follow the documentation. It's all there in the deployment guide.
    iAS and Forms doco can be found on OTN.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • I have just bought an ipad with retina display wifi and 4g 16gb how can I check that this is what I have been supplied with please

    I have just bought an ipad with retina display wifi and 4g 16 gb - how can I check that this is what I have been supplied with

    Identifying iPad Models:
    http://support.apple.com/kb/HT5452

  • My mac disk is full and i cant transfer files from Mac to USB. saying the format is not good, how can i change the format and what happened to the files i have on USB?

    my mac disk is full and i cant transfer files from Mac to USB. saying the format is not good, how can i change the format and what happened to the files i have on USB?

    Once something similar happened to me. The external drives I had set up for FCP to use for some reason were not mounted, and FCP put all its render files on the main drive and I couldn't find them anywhere.
    Go to applications, and control-click (and hold down) on your FCP icon; you should get a pop up menu that says "show package contents". Select that, select the "contents" folder, then the "mac OS" folder. See if your quicktime file is in there, or if you've got render files in the "render" folder or audio render files in the "audio render" folder that don't belong there.
    That's where FCP sticks stuff when your documents FCP project folders are not available or when external drives you've selected aren't available.

  • How can I access Icloud to see what's in it?

    How can I access Icloud to see what's in it?

    You can see some of it on icloud.com from your computer.  You can see all of your iCloud data on your iPhone from within the apps that you are syncing with iCloud (contacts, calendars, reminders, notes, etc.).

  • How can I reset security questions. What is a rescue email.

    How can uI reset security questions. What is a rescue email.?

    Welcome to the Apple Community.
    Start here, and reset your password, you will receive an email with your new password, then go to manage your account > Password and Security and change your security questions.
    If that doesn't help you might try contacting Apple through iTunes Store Support

  • ITunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?

    iTunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?
    Many people have the same problem. However, there is little or nothing readily available to users. This problem has existed for two or more years. Does anyone have anything to offer about this disturbing problem?

    Thanks for the suggestion kcell. I've tried both versions
    9.0.115 and 9.0.124 and both fail with the policy permission error.
    I also tried with and without your crossdomain.xml file but
    with the same result. It looks like this file is intended for URL
    policy, instead of socket policy. Recently Adobe separated the two.
    When I run with the files installed on my dev PC, it does
    work, which makes sense because the flash player isn't loaded from
    an unknown domain.
    I did get one step closer. If a crossdomain.xml in the server
    root exists and the socketpolicy file is loaded from the app folder
    then the first two warnings disappear. The logs now show:
    OK: Root-level SWF loaded:
    https://192.168.2.5/trunk/myapp.swf
    OK: Policy file accepted: https://192.168.2.5/crossdomain.xml
    OK: Policy file accepted:
    https://192.168.2.5/trunk/socketpolicy.xml
    Warning: Timeout on xmlsocket://192.168.2.5:843 (at 3
    seconds) while waiting for socket policy file. This should not
    cause any problems, but see
    http://www.adobe.com/go/strict_policy_files
    for an explanation.
    Warning: [strict] Ignoring policy file with incorrect syntax:
    xmlsocket://192.168.2.5:993
    Error: Request for resource at xmlsocket://192.168.2.5:993 by
    requestor from https://192.168.2.5/trunk/myapp.swf is denied due to
    lack of policy file permissions.
    Which basically says, everything is okay, but you stay out
    anyway.
    PS: I found the XML schema files here:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html
    and the socket policy schema:
    http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd.
    UPDATE: When serving up the policy file on port 843 using the
    example perl script then the socket connection seems to be accepted
    and the connect succeeds. After that flex hangs trying to logon to
    the IMAP server.

  • HT4061 I just bought a new iPad min and it will not complete the initial up its been hooked up to me computer 2 days no results how can i send a photo of what it is doing apple almost complete white bar but won't go 100% ?

    I just bought a new iPad min and it will not complete the initial up its been hooked up to me computer 2 days no results how can i send a photo of what it is doing apple almost complete white bar but won't go 100% ?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • How can the client know if the SSL certificate specified in the service-config.xml file is invalid/u

    Hi,
    How can the client know if the SSL certificate specified in the service-config.xml file is invalid/untrusted/expired? For example using iOS client, the trusted certificate will not work and the client has no way to know that the certificate is untrusted. Can the lcds server return any specific exceptions for SSL errors?
    Thanks,
    Swathi.

    We use a standard Java keystore and certificate validation can be handled as per standard best practices. At present we do not provide a hook point to validate the server certificate. However, you can register a bootstrap service which validates the certificate on system startup: http://help.adobe.com/en_US/dataservicesjee/4.6/Developing/WSc3ff6d0ea77859461172e0811f00f 6fe7f-7ffeUpdate.html This would require you to pass another copy of the keystore configuration to you Bootstrap service and then you can inspect the certificate in the keystore and validate it.

  • I just recently purchased a mini iPad for my child. It was set up in the Apple store with my Apple id. I now want to create an Apple id for my child and switch it over, how can I go about that. I already downloaded some of the games from my account.

    I just recently purchased a mini iPad for my child. It was set up in the Apple store with my Apple id. I now want to create an Apple id for my child and switch it over, how can I go about that. I already downloaded some of the games from my account.

    With a new account, you'll need to rebuy the games.
    Each user should have their own icloud account, otherwise they end up getting the same emails, contacts, calendars, notes, reminders, etc. - usually not what you want.  But if all have been sharing the same itunes ID, keep it that way, you can have different IDs for itunes and icloud.
    If you already have another icloud account, and want to set it up on a device, then go to Settings>icloud, scroll to bottom of screen and tap Delete Account.  This only disconnects the device from that account, no data is lost on icloud.  Then enter the account ID that you want to use.
    To create a new icloud account, go to
    http://www.apple.com/icloud/setup/

  • How can i block an unwanted 12 digit number that has been constantly calling me?

    how can i block an unwanted 12 digit number that has been constantly calling me? The number is >Number deleted<
    Message was edited by: Verizon Moderator

        Hi there irock2! I know how pesky those unwanted calls can become. Since the calls are not coming from a normal 10-digit American number, it may be someone international attempting to reach you. Our Usage Controls http://bit.ly/plz3pA feature offers the ability to block international calls, and even calls from private and restricted numbers. We also offer the option to change your number at no charge through My Verizon http://bit.ly/WJbRNG if you'd like.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • How can I get my RSS feeds to show up on my iOS devices from iCloud?

    How can I get my RSS feeds to show up on my iOS devices from iCloud?  The RSS feeds now show up just fine on my iMac. 
    On my iMac the appear in a category at the same level as In Box, Sent, etc.  However the term RSS is in lighter grey like Mailboxes, On My Mac, Reminders.  I use Snow Leopard 10.7.5.  Any help will be appreciated as I'd like to read the feeds on my iPad 2 and iPhone 5 when I'm away from home.
    Thank you.

    This is helpful, but how do you get both devices to communicate to this single calendar via the iCloud?...
    You did not mention that it must be through iCloud.  But then, it can't really do so if you want to maintain separate Apple IDs.
    So you just set up an additional calendar on your devices.
    iPads, iPhone, Macs can show multiple calendars simultaneously.  I have my work calendar and several personal calendars all showing simultaneously on my iPad, Mac Mini and Macbook Pro.   In the case of my client, they didn't need multiple calendars.  They just were going to use the one shared calendar.  But I did setup the shared Google calendar and separate personal caldendars on their iPhones.  (e.g.: Husband's iPhone = husband's personal Mac Cal + shared Google Calendar.  Wife's iPhone = wife's personal Outlook for Windows Cal + shared Google Calendar.)

  • How can i stay logged in on iPhone Skype after i delete the app from the 'current' apps?

    How can i stay logged in on iPhone Skype after i delete the app from the 'current' apps?
    Thanks for ur answers !

    You are correct. There is no other way to recover this material, and yes it would have been a good idea to backup the iPhone prior to the restore. Remember that a restore to a previous date deletes everything on the device and puts it back to the state of things on the date you choose. The texts and contacts would be gone. Did you possibly sync the contacts with a supported application on the computer? That is the only other way to recover contacts. They are designed to be synced with a supported application on the computer, or with a cloud service such as iCloud, Google or Yahoo.

  • How can I get a full screen on my tv when i am mirroring from my ipad 2

    how can I get a full screen on my tv when I am mirroring from my ipad 2?

    You woul dprobably need to choose a zoom display mode on the TV.
    Any screem shots / promos for mirroring I've seen have been 4:3 ratio like the iPad screen resolution.
    To me this would be an obvious source of frustration to users of 16:9 TVs - unless there's an ipad 2 mode to somehow run in 16:9 not using the whole screen or not displaying the edges for mirroring, AppleTV2 may not be able to fill the screen

  • How can I get the digital booklet included with the albums I am purchasing from iTunes directly on my iPad?

    How can I get the digital booklet included with the albums I am purchasing from iTunes directly on my iPad?  My MacBook died about 6 months ago, so now I just have an iPhone and iPad.  I would like to be able to see the Digital Booklet in my iPad when I download the album.  I do not have any other computer to download the booklet to and sync to my iPad.

    Apparently, you have to download the booklet to iTunes on a computer first, fiddle with the file type, then sync it as a book to your iPad. See http://support.apple.com/kb/HT4194 for details.

Maybe you are looking for