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!

PLS-00221: 'GET_BALANCE' is not a procedure or is undefined

609621Dec 25 2010 — edited Dec 25 2010
Dear all,

I have the below procedure

MEDT_KPI_PKG.GET_BALANCE(:2 , :3 , :4 , :5 , :6 )

The structure of the package.function is :

FUNCTION Get_subno_blanace (
p_CHANNEL IN VARCHAR2,
p_SUBNO IN VARCHAR2,
p_AREA IN VARCHAR2,
p_SUBSCR_TYPE IN VARCHAR2,
p_CALL_TIME IN VARCHAR2)

When I audit this session,I found the below row under sql_bind column of aud$ table.

#1(0): #2(4):MEDD #3(8):98007865' #4(1):0 #5(1):G #6(0):

and sql_text of the table aud$ has the below value

BEGIN :1 := "MEDT_KPI_PKG".GET_BALANCE(:2 ,:3 ,:4 ,:5 ,:6 ); END;



I passed the value and when I try to execute the procedure.function as below :

exec MEDT_KPI_PKG.GET_BALANCE('MEDD','98007865','0','G','0');

it is errroring :

ORA-06550: line 1, column 7:
PLS-00221: 'GET_BALANCE' is not a procedure or is undefined
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored



What could be the reason for this ?


Kai

Edited by: KaiS on Dec 25, 2010 8:29 AM
This post has been answered by Solomon Yakobson on Dec 25 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 22 2011
Added on Dec 25 2010
2 comments
13,253 views