Finding object dependencies using Enterprise Manager

We would like to know if it's possible to use the Enterprise Manager using version 9i or higher to determine the object dependencies of specified procedures, functions, packages, ect... If yes, what function should I be looking at?
We plan on changing some source code and we would like to determine all object dependencies that specified procedure, function or package is connected to. This would help gather and prepare our user casses and to proactively check before making changes.
Thanks.

On 10g, if you go to your procedure, you can pick show dependencies under actions. I believe it's the same for OEM9i, you right-click on your procedure, and you choose Show dependencies.

Similar Messages

  • How to find object dependencies using the DBA_DEPENDENCIES

    Hi,
    Could some one please help me in finding out the object dependencies among objects?
    I was trying to find out the all levels of dependencies for a given object in  a given schema, but this following query is not working for packages type.
    I want to find out all LEVELS of object involved in the creation of a package.
    Example:
    SELECT DISTINCT owner,name,referenced_owner,referenced_name,referenced_type, LEVEL Le1
    FROM dba_dependencies
    where owner =user
    START WITH NAME = 'object name'
    CONNECT BY NOCYCLE PRIOR referenced_name    = NAME
    --AND PRIOR REFERENCED_OWNER = OWNER
    --AND REFERENCED_TYPE = 'PACKAGE'
    ORDER SIBLINGS BY name
    Please help.

    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    WITH v AS (
        SELECT  line
               ,col
               ,name
               ,object_type
               ,object_name
               ,type
               ,usage
               ,usage_id
               ,usage_context_id
        FROM    user_identifiers
        WHERE   object_name = 'XML_SPREADSHEET'
        AND     object_type = 'PACKAGE'
    SELECT  LEVEL,LPAD(' ', 2*(LEVEL-1)) ||NAME
           ,object_type
           ,type
           ,usage
           ,line
    FROM v
    START WITH name = 'T_REC_CAPTION'
    CONNECT BY PRIOR usage_id = usage_context_id
    ORDER SIBLINGS BY line, col
         LEVEL LPAD('',2*(LEVEL-1))||NAME   OBJECT_TYPE   TYPE               USAGE             LINE
             1 T_REC_CAPTION                PACKAGE       RECORD             DECLARATION        317
             2   TITLE                      PACKAGE       VARIABLE           DECLARATION        318
             3     VARCHAR2                 PACKAGE       CHARACTER DATATYPE REFERENCE          318
             2   TOPTITLE                   PACKAGE       VARIABLE           DECLARATION        319
             3     VARCHAR2                 PACKAGE       CHARACTER DATATYPE REFERENCE          319
             2   SPAN                       PACKAGE       VARIABLE           DECLARATION        320
             3     PLS_INTEGER              PACKAGE       SUBTYPE            REFERENCE          320
             2   COMMENT                    PACKAGE       VARIABLE           DECLARATION        321
             3     VARCHAR2                 PACKAGE       CHARACTER DATATYPE REFERENCE          321
             2   REPEATTITLE                PACKAGE       VARIABLE           DECLARATION        322
             3     BOOLEAN                  PACKAGE       BOOLEAN DATATYPE   REFERENCE          322
             1 T_REC_CAPTION                PACKAGE       RECORD             REFERENCE          324
             2   BINARY_INTEGER             PACKAGE       SUBTYPE            REFERENCE          325
    13 Zeilen gewählt
    What do you mean with They are giving only one level depth of dependencies?

  • Unable to connect to the database instance using Enterprise Manager.

    I just install Oracle 10gr2 in my computer and after successful installation created a database instance which also install successfully. I then configure the listener using Net Manager and then start the database instance, the listener and dbconsole, everything seems to work fine and checking the status of this services from the command prompt indicates everything started successfully. But when I try to use Enterprise Manager I was directed to the Database Down Page with a message unable to connect to database instance. I try to use startup and perform recovery but every time I log-in to the database an error message comes out:
    SQLEXCEPTION
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified.
    It seems for Enterprise Manager to connect to the database it needs to access this NLS(National Language Support) data files or specify an environment variable to point to this data files. I am just new to Oracle and I am having difficulty solving this particular problem. Where is this data files located and how do I configure Enterprise Manager to access this NLS data Files?
    Any help however small will be highly appreciated.

    Are you able to connect to the database via SQLPlus?
    What Operating System are you using?
    Assuming Windows, can you RUN regedit to open Windows Registry and check the value or NLS_LANG when you select
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<your_oracle_home>
    Examples of vaules you may find:
    1. ENGLISH_UNITED KINGDOM.WE8MSWIN1252
    2. AMERICAN_AMERICA.US7ASCII
    3. AMERICAN_AMERICA.WE8MSWIN1252
    4. FRENCH_FRANCE.WE8MSWIN1252
    5. GERMAN_GERMANY.WE8MSWIN1252
    If you are not able to connect to SQLPlus, from the command prompt try setting one of the above:
    e.g.
    D:\>set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    D:\>sqlplus /nolog
    SQL>connect sysman/password

  • Error while deploying application using enterprise manager website and dcmctl

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container. We are planning for deployment in few days to go it live. Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Are there any mandatory patches to be applied after installing 9ias Rel2?
    Thanks
    Srinath

    Try to fragment the 'ear' in less than 64k blocks or don't transmit as long raw.
    Please let me know if this works.

  • I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid

    I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid of this.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • Error while trying to deploy the application using Enterprise manager website

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container.
    We are planning for deployment in few days to go it live.
    Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    Thanks
    Srinath

    Hi,
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Thanks
    Srinath

  • Import database using enterprise manager

    Hello,
    I am trying to import a database using enterprise manager. I've finished the installation of 10g and i need to import a database that is in a different server.
    The Oracle Enterprise Manager window, has a tab 'maintenance' that allows me to import from another database.
    The problem is that at some point the wizard ask's me for the user credentials (user and password), and i don't no who is the user, is it refering to the others server's credentials or is it referring to the database credentials?
    Can You help me, please?
    Is there some tutorial for this?
    Thank you,
    Sara.

    I don't know of a tutorial, sorry. This forum is about Globalization Support (e.g. national language support features) so it is really the wrong place for EM Grid/Database Control questions. I suggest your try here instead:
    Enterprise Manager

  • Problem using Enterprise Manager 11g Database Control in Firefox 3.6.6

    Hello all,
    I just intalled Oracle 11g and trying to familiarize myself with Enterprise Manager 11g Dataabse Control using Firefox 3.6.6 in Windows XP.
    I'm able to login to Enterprise manager successfully.
    However, when I click on on "Performance Tab", the "SYSTEM_MOVING_WINDOW" is empty, and there's a prompt "Click Here to Download Plugin."
    When I do click on it, I get message:
    No suitable plugins were found.
    Unknown plugin (application/octet-stream) [Manual Install].
    I'm not sure what plugin I need so I can use Enterprise Manager properly.
    Please help!
    Thanks
    Giovanni

    I use the Opera browser so I can split the screen to monitor multiple instances at the same time on my 2nd monitor. I am not having issues with the 10g OEM but having the same problem listed in this thread with the 11g OEM ( we have both running during our migration to 11g). The posts here didn't help me with the 11g OEM as there must be some difference from 10g OEM. I will hate it if I can't do the split screen to monitor multiple instances at the same time. And if you are connecting via solaris or lunix browser then IE is not an option ( W3C standards please ).

  • Unable to connect using Enterprise Manager

    I have Oracle 9.2 installed on w2000 server and it was working fine when I use isqlplus and sqlplus. However, after I type in the userID:SYS and password to expand the tree of the database when I use Enterprise Manager , it gives me the error ORA-12520. I got the same error when trying to create DSN in ODBC driver configuration.

    Solution:
    I ran into the same problem. You have to first create a password file. Run
    orapwd file=<fname> password=<password> entries=<users>
    The file will usually be in the dbs by default. You may have to play with the file name. I had to make it orapwd in dbs to make it recognize correctly.
    Next you need to modify your startup parameter for your instance to use the remote_login_passwordfile='shared' or 'exclusive'
    Set it to exclusive if you have only one instance or shared if you have multiple instances. I had to use the pfile and start the instance with that. Just rename your spfile and type 'sql>create pfile from spfile' and then edit it. Set your parameter and restart your instance. The do 'sql>create spfile from pfile' to make your spfile again. Now you should be able to connect as sys remotely from sql or OEM!!!
    Doc:
    Setting REMOTE_LOGIN_ PASSWORDFILE
    In addition to creating the password file, you must also set the initialization parameter REMOTE_LOGIN_PASSWORDFILE to the appropriate value. The values recognized are described as follows:
    Value Description
    NONE
    Setting this parameter to NONE causes Oracle to behave as if the password file does not exist. That is, no privileged connections are allowed over non-secure connections. NONE is the default value for this parameter.
    EXCLUSIVE
    An EXCLUSIVE password file can be used with only one database. Only an EXCLUSIVE file can contain the names of users other than SYS. Using an EXCLUSIVE password file allows you to grant SYSDBA and SYSOPER system privileges to individual users and have them connect as themselves.
    SHARED
    A SHARED password file can be used by multiple databases. However, the only user recognized by a SHARED password file is SYS. You cannot add users to a SHARED password file. All users needing SYSDBA or SYSOPER system privileges must connect using the same name, SYS, and password. This option is useful if you have a single DBA administering multiple databases.

  • Cannot Connect using Enterprise Manager

    The details of the Oracle 9i Server 9.2.0.1.0 are as follows:
    IP: 172.25.22.78
    SID: MSPD
    Port 1521
    I am trying to connect to this server using enterprise manager but i get the "ORA-12543: TNS:destination host unreachable" Error.
    However I am able to ping the server successfully.
    When I try the command telnet 172.25.22.78 1521 I get an error "Could not open connection to Host, on port 1521; connect failed."
    What could be the reason?
    Following is the entry in TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MSPD_172.25.22.78 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.25.22.78)(PORT = 1521))
    (CONNECT_DATA =
    (SID = mspd)
    (SERVER = DEDICATED)
    Thanks and Regards,
    Ashwin

    Hello everyone,
    Thanks for all your answers so far. I appreciate your assistance very much.
    Does tnsping work?
    No TNSPING 172.25.22.78 1521 did not work
    Can you connect via sqlplus?
    No. The net service mspd_172.25.22.78 is configured in the Net Manager.
    It fails when I test it from Net manager as well as SQL Plus
    The server is in Boston.
    This problem is only occuring when we are accessing the server from Mumbai.
    My team from Cincinatti is able to connect to the server.
    ping, tnsping, sqlplus, telnet are all successful for them.
    When i contacted the Network team in mumbai they had a look at the Trace route of the IP and declared that there is no firewall from our side that is blocking the communication. They asked me to contact the client to see if the server port they provided is correct and is open for access.
    Could it be that the client put up a firewall that allows access from cincinatti office but not mumbai? (all tests from cinci - pass, all tests from mumbai except ping fail).
    Is it possible that Cinci team can access port 1521 but from mmumbai we have to give another port which is reverse mapped to port 1521?
    Thanks and Regards,
    Ashwin

  • Why using Enterprise Manager..

    I can connect to both DB on my machine and instead using SQPLPlus from command line I cannot connect with none ?
    S.O. Windows XP Pro
    On my machine I have Oracle 9i with 2 DB of test. If I try to connect to them using SQLPlus I cannot connect ( I have Error ORA-12560 ) and instead if I try to connect using Enterprise Manager I can.
    I have these services on :
    1) OracleOraHom92HTTPServer
    2) OracleOraHom92TNSListener
    3) OracleServiceMyDB
    Tx for any suggest
    Diego

    the tns protocal adaptor error can mean many things.
    check the following:
    1) check the windows service is running for the database.
    2) run a tnsping command to check if all is okay.
    3) are you running sqlplus from the correct ORACLE_HOME

  • How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?

    How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?
    I tried using DROP Tables, Truncate Database, Delete and many more but it is not working.  I want to delete all tables using Query Analyzer, i.e. through SQL Query.
    Please help me out in this concern.
    Nishith Shah

    Informative thread indeed. Wish I saw it early enough. Managed to come up with the code below before I saw this thread.
    declare @TTName Table
    (TableSchemaTableName
    varchar
    (500),
    [status] int
    default 0);
    with AvailableTables
    (TableSchemaTableName)
    as
    (select
    QUOTENAME(TABLE_SCHEMA)
    +
    +
    QUOTENAME(TABLE_NAME)
    from
    INFORMATION_SCHEMA.TABLES)
    insert into @TTName
    (TableSchemaTableName)
    select *
    from AvailableTables
    declare @TableSchemaTableName varchar
    (500)
    declare @sqlstatement nvarchar
    (1000)
    while 1=1
    begin
    set @sqlstatement
    =
    'DROP TABLE '
    + @TableSchemaTableName
    exec
    sp_executeSQL
    @sqlstatement
    print
    'Dropped Table : '
    + @TableSchemaTableName
    update @TTName
    set [status]
    = 1
    where TableSchemaTableName
    = @TableSchemaTableName
    if
    (select
    count([Status])
    from @TTName
    where [Status]
    = 0)
    = 0
    break
    end

  • Where to find sensor values in Enterprise Manager

    Hi,
    I followed the instruction from (http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_sensors.htm) to add sensors to my BPEL process. Where do I navigate to find the sensor values in Enterprise Manager?
    I also notice in SOA Composite screen (Farm_soa_domain > SOA > soa_infra (soa_server1) > default > My_Composite), when clicking on instance ID link nothing happen, a bug?
    I'm running on:
    Oracle Enterprise Manager 11g
    Oracle SOA Suite 11g (11.1.1.3)
    Thank you,
    Scott.

    Found the issue, Chrome browser is not fully compatible with Oracle Enterprise Manager, use Firefox instead.

  • Using Enterprise Manager when you're not connected to internet

    Hi all
    I am new to Oracle and to gain more knowledge I am reading several books/pdf's
    They mention the use of "Enterprise Manager".
    They also mention that it is web-based.
    Does this mean you have to be connected to the internet in order to use it.
    I am using Oracle on a machine which is not connected
    Is this the reason that I can't find it anywhere in the "start-menu"?
    Or is it available, but with a different name?
    Thanks in advance
    Hein

    Hi all
    I am new to Oracle and to gain more knowledge I am reading several books/pdf's
    They mention the use of "Enterprise Manager".
    They also mention that it is web-based.
    Does this mean you have to be connected to the internet in order to use it.
    I am using Oracle on a machine which is not connected
    Is this the reason that I can't find it anywhere in the "start-menu"?
    Or is it available, but with a different name?You did not provided the OS and DB version. It is web-based does not mean you have to be connected to internet. It means you can access database in you web browser. It may or may not be in start menu. You have to configure OEM first then only you can access its url from some other computer provided your computer is connected to db server and OEM running port is accessible from your machine.
    Hope this helps.
    Regards.

  • From Forms Product Management - Using Enterprise Manager

    I have just posted a new viewlet which shows the Enterprise Manager features in 10g. If you have not used EM before its a great high level demo which shows you how yuo can manage your Forms applications from a console. For those already familiar with EM you will be able to check out some of the new work we have done in integrating Forms and EM.
    If you go to http://otn.oracle.com/products/forms you can see the feature on the news list.
    Thanks
    Grant Ronald
    Forms Product Management

    Grant
    I don't think you'll get too many replies. I expect most people here are either committed to using Web Forms already (and so don't need this functionality) or else are still in client-server mode (and so don't understand what you asking).
    We are just in the process of migrating from Forms4.5 to 9i (I'm in the WebUtil beta) and we are still finding out all sorts of non-obvious things about web-deployment - don't get me started on how awful the whole GIF thing is! So I'm not really qualified to have an opinion about Webstart. I only have the vaguest idea what it does and I'm not sure I want to read up about it just so I can tell you whether to go ahead with it.
    What I will say is this:
    (1) Anything that makes 9i Forms more like a client-server experience for the users would be a good thing, bceause it would minimise the shock of transition.
    (2) Choice is a good thing. Your recent experience of developers' spleen over the removal of client-server should tell you that people respond well to being given options and badly to having them removed.
    (3) If I've correctly understood Haris Peco in their second point we could get rid of O9iAS and that would be flipping marvellous for everybody (except possibly the VP in charge of O9iAS Sales :P).
    My tuppence ha'penny worth.
    Cheers, APC

Maybe you are looking for

  • Major iTunes problem!  Need Help!!!

    I have completely cleaned out my iTunes library and all music files on my iPod, but it still says I am using half of my iPod storage. (8.79 out of 19 GIGs) I have uninstalled, re-installed, rebooted, shut down and still every time I plug in my iPod,

  • Delete Edit History in File Info?

    I did a Save As of a .psd file to a .jpg. How do I avoid (or delete) the edit history metadata in the File Info of the .jpg file? I want to keep this metadata in the .psd file only.

  • Embedding Fonts in AS 3.0 NOT the IDE?!?!

    Hi -- I would like to include fonts in a SWF that I am building using Flash CS3 and AS 3. I have found lots of examples online that look like this: [Embed(source="C:\WINDOWS\Fonts\ARIAL.TTF", fontFamily="Arial")] private var _arial_str:String; Howeve

  • Satellite Pro P300 - PSPCDA-01L00D - DVD not found after Windows 7 upgrade

    After performing a clean install of Windows 7 Home Premium, then downloading the necessary drivers from the Toshiba support website there are issues with the DVD player in my laptop. I downloaded the Toshiba DVD Player application, which auto detects

  • Does weblogic.Deployer set the CLASSPATH?

    Hi, I need to deploy an application with the weblogicDeployer utility. Does it automatically set the CLASSPATH, as is done with the Admin console? Or do I need to set the CLASSPATH explicitly? Thanks, -Ami