# not able to see the procedure in run window

**URL:** <https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [July 22, 2015, 10:00am UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809 "2015-07-22T10:00:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharvankumar](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sharvankumar](https://forums.toadworld.com/u/sharvankumar)\
**Post date:** [July 22, 2015, 10:00am UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809/1 "2015-07-22T10:00:30Z")

</div>

Hi All,

I have a procedure without parameter in package ( spec defination - \> PROCEDURE Update\_info;) when i right click on this in brower window , it opens a set parameter window , that show me all the procedure/Function that has parameter except “Update\_info” that do not have parameter.

Can any one please let me know how do i run this… from set parameter…

I can run this a anonyms block but wanted to know why toad is not showing this.

Thanks

Sharvan

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [July 22, 2015, 10:08am UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809/2 "2015-07-22T10:08:37Z")

</div>

I can't reproduce. What version of Toad are you on?

> when i right click on this in brower window

Do you mean you are right-clicking your package in the Schema Browser and choosing Execute Package?

Michael

---

<div class="post-metadata">

**Author:** ![sharvankumar](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sharvankumar](https://forums.toadworld.com/u/sharvankumar)\
**Post date:** [July 22, 2015, 11:01am UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809/3 "2015-07-22T11:01:16Z")

</div>

Hi Michael,

Toad oracle Professional 12.1.0.22

yes When i right click on package procedure in the schema browser and choossing the execuate package… it opens the set parameter… and in the set parameter window i am seeing all procedure/function except the procedure that is without parameter.

Just wondring how do i run this in toad.

Thanks

Sharvan

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [July 22, 2015, 11:11am UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809/4 "2015-07-22T11:11:32Z")

</div>

It works for me in 12.1. Do you have privileges on all\_arguments or dba\_arguments? Open the Schema Browser, select your package, and enable SQL spooling from the Database menu (Database|Spool SQL|Spool SQL to Screen). Now try to execute your package. Look at the spooled SQL in the Output window. I see 4 queries being executed in my test, the first being against all\_arguments. Do you see any ORA errors in the spooled SQL output? If so, what is the error and for which query?

Michael

---

<div class="post-metadata">

**Author:** ![sharvankumar](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sharvankumar](https://forums.toadworld.com/u/sharvankumar)\
**Post date:** [July 22, 2015, 2:34pm UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809/5 "2015-07-22T14:34:05Z")

</div>

Hi Michael,

thanks for your time and help…

I took the spool sql and run for my package… it shows all the procedure with argument in my package but not the one that has no agrument.

So i need to request DBA to grant the privilage or is there something else is wrong

Select

```
   object_name, position, decode(data_type, 'REF CURSOR', 'SYS_REFCURSOR', data_type) data_type, overload, argument_name,

   data_level, data_length, data_precision, data_scale, type_name,

   in_out, object_id, sequence

```

from all\_arguments

where object\_id = (select object\_id

```
     from sys.user_objects

     where object_name ='COMM_RPT'

    

     and object_type in ('PACKAGE', 'PROCEDURE', 'FUNCTION'))

```

order by Object\_Name, Overload, Sequence

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [July 22, 2015, 3:11pm UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809/6 "2015-07-22T15:11:57Z")

</div>

If there was no ORA error in the spooled output then there's no priv you'd need.

On Jul 22, 2015, at 5:35 PM, sharvankumar [bounce-sharvankumar@toadworld.com](mailto:bounce-sharvankumar@toadworld.com) wrote:

> **[RE: not able to see the procedure in run window](http://www.toadworld.com/products/toad-for-oracle/f/10/p/25093/55272#55272)**

> Reply by sharvankumar  
> Hi Michael,

> 

> 

> thanks for your time and help..

> 

> I took the spool sql and run for my package... it shows all the procedure with argument in my package but not the one that has no agrument.

> 

> So i need to request DBA to grant the privilage or is there something else is wrong

> 

> Select

> ```
> object_name, position,
> 
> ```
> 
> decode(data\_type,  
> 'REF CURSOR',  
> 'SYS\_REFCURSOR', data\_type) data\_type,  
> overload, argument\_name,

> ```
> data_level, data_length, data_precision,
> 
> ```
> 
> data\_scale, type\_name,

> ```
> in_out, object_id,
> 
> ```
> 
> sequence

> from all\_arguments

> where object\_id =  
> (select object\_id

> ```
> from sys.user_objects
> 
> ```

> ```
> where object_name ='COMM_RPT'
> 
> ```

> 

> ```
> and object_type in
> 
> ```
> 
> ('PACKAGE',  
> 'PROCEDURE',  
> 'FUNCTION'))

> order  
> by Object\_Name, Overload,  
> Sequence

> To reply, please reply-all to this email.
> 
> [Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/f/10/t/25093?subscribe=false) on this subject.
> 
> Or [  
> Unsubscribe from Toad for Oracle - General](http://www.toadworld.com/products/toad-for-oracle/f/10?subscribe=false) notifications altogether.
> 
> Toad for Oracle - Discussion Forum

> [Flag](http://www.toadworld.com/products/toad-for-oracle/f/10/p/25093/55272?AbuseContentId=bab08ea3-3569-45fc-b3fc-74a368fbd3a6&AbuseContentTypeId=f586769b-0822-468a-b7f3-a94d480ed9b0&AbuseFlag=true)  
> this post as spam/abuse.

> ![](https://global.discourse-cdn.com/quest/original/3X/5/0/50b30fd5f87c85fe5cba2635cb83316ca71250d7.gif)

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [August 3, 2015, 6:13am UTC](https://forums.toadworld.com/t/not-able-to-see-the-procedure-in-run-window/33809/7 "2015-08-03T06:13:34Z")

</div>

This happens only in Oracle 12.1.0.2 due to a change that Oracle made in ALL\_ARGUMENTS. It is fixed in Toad 12.7.
