Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Finding out all procedures , functions in a tree like structure in sequence

ora_1978Sep 6 2012 — edited Sep 6 2012
Example:

Say i have packages

pack1 - Master package
pack1proc1 - calls pack2proc1
pack1proc2 - calls pack3proc1

pack2
pack2proc1 - calls pack4proc1
pack2proc2 - calls pack4proc2
pack2proc3


pack3
pack3proc1

packn
.
.
.
.
-----

The above is just an example. My requirement when i pass master package (pack1) as input , i should get all chain of procedures in the dictionary upto any level. I know we have database dictionary user_dependencies, deptree, ideptree. But not sure of how to use that. Please give a query to get the chain of procedures.

Table is not needed. Only procedures and functions.

thanks,
Vinodh

Comments

User_EYE0A

lsnrctl status shows:
LSNRCTL for 64-bit Windows: Version 18.0.0.0.0 - Production on 11-JUN-2021 18:43:39
Copyright (c) 1991, 2018, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
64-bit Windows Error: 60: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 18.0.0.0.0 - Production
Start Date 11-JUN-2021 17:57:27
Uptime 0 days 0 hr. 46 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File E:\app\name\product\18.0.0\dbhomeXE\network\admin\listener.ora
Listener Log File E:\app\name\product\18.0.0\diag\tnslsnr\MAE412QQYV\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 4 2012
Added on Sep 6 2012
11 comments
4,691 views