Link to home
Create AccountLog in
Avatar of srividhyapavani

asked on

Error while calling onr procedure from another procedure

Hi All,
I have completed one package coding. I am calling anothet procedure in one of my procedure of my package.
package.get_pallet_details (var1_in,var_out,.....);
There are lot of lines in between, and i m passing one in variable and 16 out varaibles here.
I have verified the datatypes and also number of arguments passed here.Everything is fine .
When i executed it as seprate block it si running fine.
But when i m calling in my procedure throwing the below error during compilation
491/6    PL/SQL: Statement ignored
491/6    PLS-00306: wrong number or types of arguments in call to

Could anyone help on this issue?

Avatar of Sean Stuber
Sean Stuber

please post the exact procedure specification and your invocation of it.

if you are invoking it with variables, post the declaration section that defines those variables
Avatar of srividhyapavani


Hi The below procedure i m running seperately
lic_no_i_in     VARCHAR2(30) := '1234567';
item_c_out     VARCHAR2(30);
item_desc_out  VARCHAR2(80);
vcp_q_out      VARCHAR2(30);
loc_c_out      VARCHAR2(30);
stat_c_item    VARCHAR2(30);
sz_c_item      VARCHAR2(30);
tctn_qty_out   NUMBER;
exp_rcpt_i_out VARCHAR2(30);
rcpt_i_out     VARCHAR2(30);
rein_ts_out   DATE;
rein_user_id   VARCHAR2(30);
put_ts_out     DATE;
put_user_id    VARCHAR2(30);
soo_code       VARCHAR2(30);
doc_no         VARCHAR2(30);
return_i_out number;
intf_pkg.get_pallet_details(lic_no_i_in ,
                               item_c_out    ,
                               item_desc_out ,
                               vcp_q_out    ,
                               loc_c_out     ,
                               stat_c_item  ,
                               sz_c_item    ,
                               tctn_qty_out ,
                               rcpt_i_out   ,
                               rein_ts_out  ,
                               rein_user_id  ,
                               put_ts_out   ,
                               put_user_id  ,
                               soo_code    ,
                               doc_no      ,
   DBMS_OUTPUT.PUT_LINE('Container status : '|| stat_c_item );
And running fine. when i m calling this in my procedure excluding declare word , throwing the above error during compilation.
Avatar of Sean Stuber
Sean Stuber

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
i got it resolved.It a schema problem thank you for your help.