Finding out all procedures , functions in a tree like structure in sequence
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