FULL caller name (package AND  proc)

I don't know any way to detect caller's package and procedure name. DBMS_UTILITY.format_call_stack is not in effect. Is it correct?

It is a shame, and apparently it isn't resolved in 10g either. It would make things like error and exception logging much slicker, and it's quite frustrating because you can see all of the details in the error stack. Hmmmm!

Similar Messages

  • Package calling other package and passing back the control to calling package

    I have to loop through n number of package from a master package, any idea how to implement this?
    Master package Calling child package in for each loop , here I need to loop through n no or rec from a table and each record needs a call to child package and return control back to calling pkg.. need to do this till the end of all the records in a table.
    Child package1 -- Called perform some task and return control back to master package
    Child package2 -- Called perform some task and return control back to master package
    Child package n -- Called perform some task and return control back to master package
    Thanks
    Neil

    You'll need following
    1. A Execute SQL Task to retrieve the list of child packages to be called from table. Use your query inside, set ResultSet option as FullResultset and map the resultset index 0 to a object variable you create inside in the ResultSet tab.
    2. Use For Each Loop with ADO enumerator and map to earlier created object variable. Inside create variables to retrieve individual column values out one of which will contain package name
    3. Add a Execute Package Task inside the loop, choose Location as filesystem and map the Connection property to variable containing package name in expession window as per below
    I assume the table stores the full path of package variable otherwise you need to add another variable to hold the path and a third variable to concatenate path + packagename to get the fully qualified package path value and assign it to execute package
    task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Full screen mode, packages and the like

    I am trying to keep my code neat byt putting various related functions into clases with their associated methods. All is working sort of okay until I want to carry out a drawimage to the graphics device g . g is in one class and the drawimage method is in another. How do I pass the graphics device to the image class and assocaited method?? Help
    I am using netbeans and each class is in the same package. Any help on this is appreciated.
    * Main.java
    * Created on 10 August 2005, 09:19
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package dna;
    import java.awt.*;
    import javax.swing.*;
    * @author damian creedon
    public class PerfectDNA extends JFrame {
    /** Creates a new instance of Main */
    public PerfectDNA() {
    * @param args the command line arguments
    public static void main(String[] args) {
    DisplayMode displayMode;
    displayMode = new DisplayMode(1024, 768, 32, DisplayMode.REFRESH_RATE_UNKNOWN);
    PerfectDNA eden = new PerfectDNA();
    eden.run(displayMode);
    private static final long DEMO_TIME = 10000;
    public void run(DisplayMode displayMode){
    setBackground(Color.blue);
    setForeground(Color.white);
    setFont(new Font("Dialog", 0, 24));
    ScreenManager screen = new ScreenManager();
    try {
    screen.setFullScreen(displayMode, this);
    try {
    Thread.sleep(DEMO_TIME);
    catch (InterruptedException ex) { }
    finally {
    screen.restoreScreen();
    ImageManager images = new ImageManager();
    images.loadImages();
    images.drawImages();
    public void init(){
    public void paint(Graphics g) {
    public void repaint(Graphics g){
    * ScreenManager.java
    * Created on 10 August 2005, 10:52
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package dna;
    import java.awt.*;
    import javax.swing.*;
    * @author damian creedon
    public class ScreenManager {
    public GraphicsDevice device;
    /** Creates a new instance of ScreenManager */
    public ScreenManager() {
    GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
    device = environment.getDefaultScreenDevice();
    public void setFullScreen(DisplayMode displayMode,JFrame window){
    window.setUndecorated(true);
    window.setResizable(false);
    device.setFullScreenWindow(window);
    if (displayMode != null &&
    device.isDisplayChangeSupported())
    try {
    device.setDisplayMode(displayMode);
    catch (IllegalArgumentException ex) {
    // ignore - illegal mode for this device
    public Window getFullScreenWindow() {
    return device.getFullScreenWindow();
    public void restoreScreen() {
    Window window = device.getFullScreenWindow();
    if (window != null) {
    window.dispose();
    device.setFullScreenWindow(null);
    * ImageManager.java
    * Created on 10 August 2005, 13:49
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package dna;
    import java.awt.*;
    import javax.swing.*;
    * @author damian creedon
    public class ImageManager {
    private Image bgImage;
    private Image opaqueImage;
    private boolean imagesLoaded;
    /** Creates a new instance of ImageManager */
    public ImageManager() {
    public void loadImages() {
    bgImage = loadImage("images/background.jpg");
    opaqueImage = loadImage("images/opaque.png");
    imagesLoaded = true;
    private Image loadImage(String fileName) {
    return new ImageIcon(fileName).getImage();
    public void drawImages() {
    g.drawImage(bgImage, 0, 0);
    }

    Hiya,
    I tried this
    public void paint(Graphics g) {
    drawImages(g);
    and get this error
    Compiling 2 source files to C:\My Projects\java\My Projects\dna\build\classes
    C:\My Projects\java\My Projects\dna\src\dna\PerfectDNA.java:66: drawImages(java.awt.Graphics) in dna.ImageManager cannot be applied to ()
    images.drawImages();
    C:\My Projects\java\My Projects\dna\src\dna\PerfectDNA.java:77: cannot find symbol
    symbol : method drawImages(java.awt.Graphics)
    location: class dna.PerfectDNA
    drawImages(g);
    2 errors
    BUILD FAILED (total time: 2 seconds)
    The method called is
    public void drawImages(Graphics g) {
    g.drawImage(bgImage, 0, 0,null);
    Further help would be appreciated.

  • Caller name id

    I recently signed up for VZW's caller name id and thought it wasn't working.  Based on my research, it does work but it basically just quickly flashes the caller Id information, rendering it useless.  Has anybody found a way to lengthen the display time of the screen?

        Thank you for the clarification Cronraptor!
    The Share Name ID feature would only affect the way your personal Caller ID displays for others. For example if you set it up and call me I would see your configuration on my display.
    Here is some information on Share Name ID: http://bit.ly/U2nNNe
    As you and Whitecollar mentioned you're experiencing an issue with incoming calls displaying name information briefly and then disappearing.
    I tested this myself and the name and number did remain on my screen until I answered or ignored the call.
    Are you perhaps using a third party calling application?
    Please advise!
    Thanks,
    MelissaM_VZW
    Follow us on Twitter @vzwsupport

  • PL/SQL, synonyms to packages and name resolution

    I have some question about name resolution in PL/SQL. First, I need to describe situation, because it is quite complicated.
    There are three schemas: A1, B1 and O. A1 and B1 are containing proprietary software and I cannot modify objects there (but I can modify configuration tables, so in this way I can call any package from anyhere). O schema is my own schema. A1 and B1 schemas are in one "module", there are also A2 and B2 schemas in second "module" and AN and BN in n-th "module".
    In normal situation, A1 schema contains synonym to package B1.PKG (on B1 schema) and uses it to call B1.PKG with DEFINER rights. The same for every "module".
    I need to extend some functionality of B.PKG by buliding some kind of "wrapper" on my own O schema. It is only one MY_PKG and should be used by every "module". In this place I need some kind of magic :)
    I want to place package MY_PKG with AUTH_ID CURRENT_USER clause on my O schema and use A1..AN schema to call it. Package MY_PKG have to call package placed on one of B1..BN schemas, so I need to create synonym on O schema for package, for example, B1.PKG just to compile the MY_PKG package.
    Now, I call MY_PKG package from A1 schema and I expect MY_PKG will use synonym to B1.PKG placed on A1 schema, instead of using synonym on my O schema. That's not happening. MY_PKG still uses synonym on O schema, so it ruins whole concept :)
    Actually, I use some set of packages that already work properly in that way, but there is some difference. In my other packages I use SQL and synonyms to tables and views placed on _one_ A schema. I use those synonyms only for compiling. When packages are calling from A1..AN schemas, they use proper objects on proper A1..AN schema. In this case I try to do the same, but with package instead of tables and view. I find it difficult probably because SQL and PLSQL resolves names in other way.
    Here is the question, is it possible to make such thing as decribed above? Of course, I can use execute immediate to run proper packages directly from O schema, but I don't want :)
    Sorry for my bad english, I hope you understand whole concept.
    DB version: 11.2.0.3

    The documentation is pretty clear that invoker rights applies only to certain statements...
    Using PL/SQL Subprograms
    SELECT, INSERT, UPDATE, and DELETE data manipulation statements
    The LOCKTABLE transaction control statement
    OPEN and OPEN-FOR cursor control statements
    EXECUTEIMMEDIATE and OPEN-FOR-USING dynamic SQL statements
    SQL statements parsed using DBMS_SQL.PARSE()
    So clearly static PL/SQL references will not be resolved in this way.
    I can't actually remember (I have found AUTHID CURRENT_USER to be very rarely useful) but you may be able to get around this by executing dynamic PL/SQL blocks but given the potential downsides of dynamic SQL and PL/SQL you almost certainly don't want to.

  • Evening and weeknd packages and caller display

    My BT contract is up in a few months. Currently I'm using the line rental saver option and have a 2 year old deal which is:
    40GB broadband
    Evening and weekend calls
    Anytime calls add-on
    and the £1.78 a month charge for caller display (after BT removed their BT privacy package)
    Now, looking up the new packages I notice that evening and weekend calls are no longer offered, with weekend only and anytime the only options. Is this correct?
    Also, is there any way of having the caller display option without having to pay £2 a month?

    When considering renewal, be aware that BT have a nasty habit of hiking up the prices of obsolete bundles.  The Tarriff Guide has a bewildering array of obsolete tarriffs, all at different prices http://www.productsandservices.bt.com/consumer/assets/downloads/BT_PhoneTariff_Residential.pdf
    A broadband package and a calls package may be a completely different price to a combined broadband and calls package.  Sometimes two apparently identical packages can have completely different prices, just because they have different names.

  • Some contacts have disappeared from my phone contacts. They are still in the phone because if someone calls me their name appears and if i search in text for contacts they are still there - but if i search in phone contacts they are not there, Help

    Some contacts have disappeared from my phone. Not all just random ones. They are still in the phone because if someone (who has disappeared from my phone contacts calls me their name appears and if i search in text messages for contacts they are still there - but if i search in phone contacts they are not there, Help!

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • Find all Package and their related Procedure Names using a specifc Table

    I have 25 Packages
    Each Package holds 30-35 Procedures
    I need to find out all Packages and Procedures
    Each Procedure handles 5 - 20 Tables as Per The Need of Business Rule.
    I need All Package and Related Procedure Names Where a Specific Table Name Appears(DBA_SOURCE doesn't serve purpose.)
    Early Reply Appreciated.
    Thanks and Regards,

    I tried the solution provided to me, but unfortunately the issue remains the same.
    I was Advised to Execute the SQL utldtree.Sql, and then Execute deptree_fill.
    The output is given by a Table DEPTREE (Columns are: .'NESTED_LEVEL', 'TYPE', 'SCHEMA', 'NAME' and 'SEQ#')
    The output I am getting From the Table DEPTREE is as follows -
    Column TYPE value is PACKAGE; Column NAME Value is ACTUAL PACKAGE NAME
    Column TYPE value is PACKAGE BODY; Column NAME Value is ACTUAL PACKAGE NAME
    This repeats till the count the TABLE Name is found in the same PACKAGE
    Desired Output should be -
    Column TYPE value PACKAGE; Column NAME Value ACTUAL PACKAGE NAME
    Column TYPE value PACKAGE BODY; Column NAME Value ACTUAL PACKAGE BODY NAME
    This should repeat till the count the TABLE Name appears in different PACKAGE BODY of the same PACKAGE
    Warm Regards,

  • Extracting package and procedure name in code

    In my exception processing I need to log the package and procedure name that got the exception. How do I obtain these two names without manually coding the names?
    Thanks in anticipiation

    A better option is to get the package name and the line numberA still better option is to utilize pl/scope (when you are in 11g (not sure about 10g)):
    SQL> alter session set plscope_settings='identifiers:all'
    Session altered.
    SQL> set serverout on
    SQL> create or replace package pkg
    as
       procedure p1;
       procedure p2;
    end pkg;
    Package created.
    SQL> create or replace package body pkg
    as
       procedure get_scope (obj varchar2, line int)
       as
       begin
          for c in (select rpad (lpad (' ', 2 * (level - 1)) || name, 20, '.') || ' ' || rpad (type, 20) || rpad (usage, 20) identifier_usage_contexts
                    from user_identifiers t
                    where level != 1
                    start with line = get_scope.line and object_name = obj
                    connect by usage_id = prior usage_context_id)
          loop
             dbms_output.put_line (c.identifier_usage_contexts);
          end loop;
       end get_scope;
       procedure p1
       as
       begin
          null;
       end p1;
       procedure p2
       as
       begin
          get_scope ($$plsql_unit, $$plsql_line);
       end p2;
    end pkg;
    Package body created.
    SQL> exec pkg.p2
      P2................ PROCEDURE           DEFINITION         
        PKG............. PACKAGE             DEFINITION         
        PKG............. PACKAGE             DECLARATION        
    PL/SQL procedure successfully completed.

  • Calling public package functions and variables through dblink

    Is it possible to call a global public variable in a package in one database from another package procedure in another database using a database link? If so, could you let me know the syntax? Same question for package functions.

    Hi,
    check this documentation link especially the stmt...
    http://www.mcs.csueastbay.edu/support/oracle/doc/10.2/appdev.102/b14251/adfns_packages.htm#i1007858
    You cannot access remote package variables and constants.May be you can write a function in the remote db which when called will return the variable value.
    for calling remote package functions...
    syntax from documentation is [[schema.]package.]function_name[@dblink][(param_1...param_n)]
    an example given in the above link for this...
    EXECUTE fire_emp1@boston_server(1043);
    Ravi Kumar
    Edited by: ravikumar.sv on Aug 31, 2009 11:29 AM

  • Create Date Column out of Full Month Name and Year

    I am trying to use Power Query to create a new column of data as a Date.  My data contains two columns: Month as the full text name and Year, for purposes of this example, I will set all days to the 15th.  In Excel, I would simply use a formula
    to convert the text month to the proper date part.
    Example:  [Month] = "January" and [Year] = 2013
    DATEVALUE([Month]&" 15, "&[Year])
    What is the syntax to Add a Column in Power Query with this conversion? 
    Thanks, Barbara

    For an existing table in the editor with columns Month and Year, click "Insert Custom Column" and use this as the formula:
    = Date.FromText([Month] & " 15," & Number.ToText([Year]))
    This will create a formula which looks something like this:
        InsertedCustom = Table.AddColumn(Source, "Custom", each Date.FromText([Month] & " 15," & Number.ToText([Year])))
    Note that one difference between Excel and Power Query is that Excel will let you concatenate text and numbers with "&" but Power Query requires that you first convert the number to text.

  • Does the 12 euro per month package include a full version of lightroom and photoshop

    I wonder if the proposed limited package of 12 euro per month (if submission for a whole year) includes the full version of photoshop and lightroom or is it limited in use ? for exemple maximum of ... hours per month of GB per month etc...?

    Hi DJL-photo ,
    Welcome to Adobe Forums
    The Photoshop Photography Program Plan do not have any limitation of Usage , Its a Subscription with a one year committment where in you will be charged on monthly basis .
    How ever if you want to store any files etc , then we have 20 GB space for storage like in Creative Cloud
    Let us know if that helps !
    Thanks
    Garima
    Message was edited by: Garima.J

  • [svn] 2932: Updated manifests with recent changes to TCAL package and class names.

    Revision: 2932
    Author: [email protected]
    Date: 2008-08-20 14:01:37 -0700 (Wed, 20 Aug 2008)
    Log Message:
    Updated manifests with recent changes to TCAL package and class names.
    Reviewer: Jason
    Bugs: SDK-16531
    QA: No
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16531
    Modified Paths:
    flex/sdk/trunk/frameworks/fxg-manifest.xml
    flex/sdk/trunk/frameworks/mxml-2009-manifest.xml

    Revision: 2932
    Author: [email protected]
    Date: 2008-08-20 14:01:37 -0700 (Wed, 20 Aug 2008)
    Log Message:
    Updated manifests with recent changes to TCAL package and class names.
    Reviewer: Jason
    Bugs: SDK-16531
    QA: No
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16531
    Modified Paths:
    flex/sdk/trunk/frameworks/fxg-manifest.xml
    flex/sdk/trunk/frameworks/mxml-2009-manifest.xml

  • Sony mw600 dont display music id and caller name

    I am usinh sony mw600 with my phone (huawei mate android 4.2.1) and the headphone dony show the track id ornthe caller name, please help

    Some Android phones does unfortunately not support sending this information to a bluetooth headset and in this case you can usually only see the number when someone calls you.
    I recommend that you contact Huawei to see if they are aware of this.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Caller name and number not displaying on my iphone 4s

    Caller name and number not appearing on my iphone 4s..

    Hello mukundaniyengar,
    We've an article that provides a few additional troubleshooting steps that may help get your iPhone's speaker working again.
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/TS5180
    Cheers,
    Allen

Maybe you are looking for