I am running a PL/SQL anonymous block on SQL developer that calls some functions /procedures (which in turn call other functions/procedures) .... the outer block contains some Dbms_Output.Put_Line statements as well as the called functions/procedures .... the Dbms_Output.Put_Line statements in the outer block works well and gives output while the inner doesn't print anything. Any help ?
set serveroutput on;
DECLARE
p_comIds CM.NUM_ARRAY; --a table type
--declare some variables
BEGIN
p_comIds :=cm.NUM_ARRAY();
p_comIds.EXTEND;
p_comIds(p_comIds.LAST) := 18508781;
cm.someProcedure(p_comIds); --contains Dbms_Output.put_line
Dbms_Output.Put_Line('this prints'); -this prints
END;