set serveroutput ON var cod_errore number begin DWH.CAL_SLA_ANALITICO_DONOR_3PARTI (&1,&2,:cod_errore); if :cod_errore = 0 then DWH.CAL_SLA_ANALITICO_RECIPIENT(&1,&2,:cod_errore); end if; end; / exit :cod_errore